Issues building Android

I am trying to build the Android ICS filesystem for the BeagleBoard-xm and I have been running into the following issue:

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<AaptDir> >’ 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/AaptAssets.o] Error 1

The x-loader, u-boot, and kernel are built correctly but this is failing. I got the source from the rowboat repo using the link in the TI-Android-ICS-4.0.3-DevKit-3.0.0_DevelopersGuide found here: TI ICS developers guide

I am using Ubuntu 12.04 LTS and I installed all of the needed packages as recommended by the google android initialization site.

Any help is greatly appreciated

I am trying to build the Android ICS filesystem for the BeagleBoard-xm and I have been running into the following issue:

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<AaptDir> >’ 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/AaptAssets.o] Error 1

The x-loader, u-boot, and kernel are built correctly but this is failing. I got the source from the rowboat repo using the link in the TI-Android-ICS-4.0.3-DevKit-3.0.0_DevelopersGuide found here: TI ICS developers guide

I am using Ubuntu 12.04 LTS and I installed all of the needed packages as recommended by the google android initialization site.

The ICS sources are not directly buildable on Ubuntu 12.04. The sources need to be patched. You may find some forum posts on this. google around for this.

For ICS, ubuntu 10.04 is the best option.

-Vishveshwar