Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349387 - android-sdk-update-manager-8 cannot build android project
Summary: android-sdk-update-manager-8 cannot build android project
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Richard Freeman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-22 16:15 UTC by Bear Tung
Modified: 2011-02-12 12:35 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bear Tung 2010-12-22 16:15:07 UTC
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
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-23 19:26:40 UTC
Please paste your `emerge --info' in a comment for good measure.
Comment 2 Richard Freeman gentoo-dev 2010-12-23 20:03:26 UTC
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...
Comment 3 Richard Freeman gentoo-dev 2011-02-12 12:35:38 UTC
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).