我一直在尝试按照官方网站上发布的说明构建 android 源代码。
但是,在我看来,这些步骤与 Ubuntu 10.04.4 的当前存储库有点过时(例如:默认 gcc 现在是 gcc 4.4)。
该站点中的说明建议使用 64 位 Ubuntu 10.04。具有讽刺意味的是,在 Ubuntu 10.04 下载页面中,它建议使用 32 位。
遇到多个不兼容问题时遇到困难。其中大部分已经在堆栈溢出本身中讨论了两年。
通过反复下载如此庞大的 repo 耗尽了互联网带宽。
最近有人成功构建了android源代码吗?如果是这样,你能指点我任何文件吗?
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/generic/obj/SHARED_LIBRARIES/libicui18n_intermediates/msgfmt.o: in function icu_46::MessageFormat::toPattern(icu_46::UnicodeString&) const:external/icu4c/i18n/msgfmt.cpp:827: error: undefined reference to 'typeinfo for icu_46::PluralFormat'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/generic/obj/SHARED_LIBRARIES/libicui18n_intermediates/msgfmt.o: in function icu_46::MessageFormat::toPattern(icu_46::UnicodeString&) const:external/icu4c/i18n/msgfmt.cpp:827: error: undefined reference to 'typeinfo for icu_46::SelectFormat'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/generic/obj/SHARED_LIBRARIES/libicui18n_intermediates/numfmt.o: in function icu_46::NumberFormat::makeInstance(icu_46::Locale const&, icu_46::NumberFormat::EStyles, UErrorCode&):external/icu4c/i18n/numfmt.cpp:1206: error: undefined reference to 'icu_46::NumberingSystem::createInstance(icu_46::Locale const&, UErrorCode&)'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/generic/obj/SHARED_LIBRARIES/libicui18n_intermediates/numfmt.o: in function icu_46::NumberFormat::makeInstance(icu_46::Locale const&, icu_46::NumberFormat::EStyles, UErrorCode&):external/icu4c/i18n/numfmt.cpp:1215: error: undefined reference to 'icu_46::NumberingSystem::isAlgorithmic() const'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/generic/obj/SHARED_LIBRARIES/libicui18n_intermediates/numfmt.o: in function icu_46::NumberFormat::makeInstance(icu_46::Locale const&, icu_46::NumberFormat::EStyles, UErrorCode&):external/icu4c/i18n/numfmt.cpp:1200: error: undefined reference to 'icu_46::NumberingSystem::createInstance(icu_46::Locale const&, UErrorCode&)'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/generic/obj/SHARED_LIBRARIES/libicui18n_intermediates/numfmt.o: in function icu_46::NumberFormat::getEffectiveCurrency(unsigned short*, UErrorCode&) const:external/icu4c/i18n/numfmt.cpp:1038: error: undefined reference to 'ucurr_forLocale_46'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/generic/obj/SHARED_LIBRARIES/libicui18n_intermediates/rbt_pars.o: in function icu_46::RuleHalf::parseSection(icu_46::UnicodeString const&, int, int, icu_46::UnicodeString&, icu_46::UnicodeString const&, signed char, UErrorCode&):external/icu4c/i18n/rbt_pars.cpp:548: error: undefined reference to 'icu_46::TransliteratorIDParser::parseFilterID(icu_46::UnicodeString const&, int&)'
make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/libicui18n_intermediates/LINKED/libicui18n.so] Error 1
make: *** Waiting for unfinished jobs....