Dear all,
I am getting follwoing error while compiling Andriod ics on my local pc. can anyone suggest me how to fix this issue.
-
DefaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String16 ; VALUE = unsigned int]â:
-
frameworks/base/tools/aapt/ResourceTable.h:485: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 lo okup
-
frameworks/base/include/utils/KeyedVector.h:193:31: note: use âthis->indexOfKeyâ instead
-
In file included from frameworks/base/include/utils/AssetManager.h:25:0,
-
from frameworks/base/tools/aapt/AaptAssets.h:10,
-
from frameworks/base/tools/aapt/Main.h:14,
-
from frameworks/base/tools/aapt/Main.cpp:6:
-
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:446: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 un qualified lookup
-
frameworks/base/include/utils/KeyedVector.h:193:31: note: use âthis->indexOfKeyâ instead
-
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/CrunchCache.o] Error 1
-
In file included from frameworks/base/include/utils/AssetManager.h:25:0,
-
from frameworks/base/tools/aapt/AaptAssets.h:10,
-
from frameworks/base/tools/aapt/ResourceFilter.h:10,
-
from frameworks/base/tools/aapt/ResourceFilter.cpp:7:
-
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:446: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]make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_inter mediates/Main.o] Error 1
-
-
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base âandroid::KeyedVector<android::String8, android::sp<AaptSymbols> >â are not found by un qualified lookup
-
frameworks/base/include/utils/KeyedVector.h:193:31: note: use âthis->indexOfKeyâ instead
-
In file included from frameworks/base/include/utils/AssetManager.h:25:0,
-
from frameworks/base/tools/aapt/AaptAssets.h:10,
-
from frameworks/base/tools/aapt/Main.h:14,
-
from frameworks/base/tools/aapt/StringPool.h:10,
-
from frameworks/base/tools/aapt/StringPool.cpp:7:
-
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:446: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 un qualified 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 = int]â:
-
frameworks/base/tools/aapt/StringPool.cpp:68:45: 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, 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
-
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/ResourceFilter.o] Error 1
-
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/StringPool.o] Error 1
-
In file included from frameworks/base/include/utils/AssetManager.h:25:0,
-
from frameworks/base/tools/aapt/AaptAssets.h:10,
-
from frameworks/base/tools/aapt/Main.h:14,
-
from frameworks/base/tools/aapt/Package.cpp:6:
-
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:446: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 un qualified lookup
-
frameworks/base/include/utils/KeyedVector.h:193:31: note: use âthis->indexOfKeyâ instead
-
Note: external/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java uses unchecked or unsafe operations.
-
Note: Recompile with -Xlint:unchecked for details.
-
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:485: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 lo okup
-
frameworks/base/include/utils/KeyedVector.h:193:31: note: use âthis->indexOfKeyâ instead
-
In file included from frameworks/base/include/utils/AssetManager.h:25:0,
-
from frameworks/base/tools/aapt/AaptAssets.h:10,
-
from frameworks/base/tools/aapt/Main.h:14,
-
from frameworks/base/tools/aapt/StringPool.h:10,
-
from frameworks/base/tools/aapt/XMLNode.h:10,
-
from frameworks/base/tools/aapt/XMLNode.cpp:7:
-
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:446: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 un qualified 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:485: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 lo okup
-
frameworks/base/include/utils/KeyedVector.h:193:31: note: use âthis->indexOfKeyâ instead
-
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/Package.o] Error 1
-
In file included from frameworks/base/include/utils/AssetManager.h:25:0,
-
from frameworks/base/tools/aapt/AaptAssets.h:10,
-
from frameworks/base/tools/aapt/Main.h:14,
-
from frameworks/base/tools/aapt/StringPool.h:10,
-
from frameworks/base/tools/aapt/ResourceTable.h:10,
-
from frameworks/base/tools/aapt/ResourceTable.cpp:7:
-
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:446: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 un qualified 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:485: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 lo okup
-
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 = android::sp<ResourceTable::Package>]â:
-
frameworks/base/tools/aapt/ResourceTable.cpp:1722:51: 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, android::sp<ResourceTable::Package> >â 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 = android::sp<ResourceTable::Type>]â:
-
frameworks/base/tools/aapt/ResourceTable.cpp:1724:53: 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, android::sp<ResourceTable::Type> >â are not fo und 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 = android::sp<ResourceTable::ConfigList>]â:
-
frameworks/base/tools/aapt/ResourceTable.cpp:1819:62: 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, android::sp<ResourceTable::ConfigList> >â 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 = ResourceTable::Co nfigDescription; VALUE = android::sp<ResourceTable::Entry>]â:
-
frameworks/base/tools/aapt/ResourceTable.cpp:1847:62: 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<ResourceTable::ConfigDescription, android::sp<ResourceTable::Entr y> >â 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/XMLNode.o] Error 1
-
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/ResourceTable.o] Error 1
-
Note: Some input files use unchecked or unsafe operations.
-
Note: Recompile with -Xlint:unchecked for details.
-
regards,
-
sreedhar