Has anyone been able to build the source using Ubuntu 13.04? I have moved the complete working source that I can build under 10.04 but I am getting a number of errors and a search of Google throws up no answers. I was able to build the complete default 4.3 source from Google but the FA Gingebread version for the Mini210 is giving me a strange error. frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android::DefaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String8; VALUE = android::sp<AaptSymbols>]’: frameworks/base/tools/aapt/AaptAssets.h:419:59: required from here frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String8, android::sp<AaptSymbols> >’ are not found by unqualified lookup frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android::DefaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String16; VALUE = unsigned int]’: frameworks/base/tools/aapt/ResourceTable.h:480:100: required from here frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String16, unsigned int>’ are not found by unqualified lookup frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/Command.o] Error 1
Building with Ubuntu 13.04
I gave up and rebuilt the virtual machine with 10.04 and it now builds perfectly. 12 or 13 is just too much work. :)
Hi Dave can you please guide me how to start with the kernel programming and building up your own image file in ubuntu?I am a beginner and need someone to help me. Thanks in adv Anousha
I was able to build the standard Google source under 13.04 but I had to go back to 10.04 to build the FriendlyArm code. I would suggest you start with Ubuntu 10.04 and on the Android Source pages of Google, setup the system as per this page. Use 64 bit Ubuntu or you won't be able to build any of the FriendlyArm source. http://source.android.com/source/initializing.html Follow the instructions for 10.04 The Sun Java 6 SDK bit is out of date and won't work. Suggest you Google on how to install this. If you can't do this or don't know how to drive Linux command line etc, I suggest you learn this first. Now you need to load the files from the DVD and expand them and then follow the instructions for adding the GCC compiler etc and then building here. http://www.sasabremec.com/?page_id=107 As long as you don't make any changes to the code to start with it, it should build without any issues. My Linux machine is down until the weekend so I can't post any code. Once it is up and running again, I will post my build script. This will make it easier to create the IMG file for the Android build. Good luck.