1 /opt/android-sdk-update-manager/platform-tools/aapt: /lib/libz.so.1: no version information available 2 almost all string consts got a warning! It said "has no default translation in res dir". But I have all strings in res/values/string.xml I use android-sdk-update-manager-6-r2 can build android project normal. Thanks, details below: ant debug [setup] Android SDK Tools Revision 8 [setup] Project Target: Android 2.2 [setup] API level: 8 [setup] [setup] ------------------ [setup] Resolving library dependencies: [setup] No library dependencies. [setup] [setup] ------------------ [setup] [setup] WARNING: Attribute minSdkVersion in AndroidManifest.xml (4) is lower than the project target API level (8) [setup] [setup] Importing rules file: tools/ant/main_rules.xml -debug-obfuscation-check: -set-debug-mode: -compile-tested-if-test: -dirs: [echo] Creating output directories if needed... -pre-build: -resource-src: [echo] Generating R.java / Manifest.java from the resources... [null] /opt/android-sdk-update-manager/platform-tools/aapt: /lib/libz.so.1: no version information available (required by /opt/android-sdk-update-manager/platform-tools/aapt) [null] aapt: warning: string 'about' has no default translation in /home/bear/douban/refactor/res; found: zh zh_TW [null] aapt: warning: string 'about_text' has no default translation in /home/bear/douban/refactor/res; found: zh zh_TW [null] aapt: warning: string 'accept_button' has no default translation in /home/bear/douban/refactor/res; found: zh zh_TW
Please paste your `emerge --info' in a comment for good measure.
Ok, I'm not the most seasoned android developer around, but I'll give this a shot... I get the libz warning as well, but it has no impact on builds. I was able to build hello-world per the google sdk instructions and run it on an emulator without problems. So, at least the core of the sdk works. However, that is a simple case and perhaps it breaks in other circumstances. Have you confirmed that the problem can be reproduced only on gentoo, and that it does not appear on other compile platforms? Perhaps somebody with more android development experience could shed more light on this, but this may not be a problem with the Gentoo package...
Ok, I'm going to close this as NEEDINFO for now. If you can still reproduce this with the new version of the SDK, and on something known to build on some other platform, and you can attach sources that produce the problem, please ping me to re-open. I'd try a Hello World app first (there are examples in the google SDK docs).