Hi all,

I have successfully built sdk for windows from android source code,
and there are many files/images in sdk platform path. However, when
run 'android -v list target' to display the target, sdk manager
complains tools/aapt.exe is missing.

I have traced this issue into sdk manager source code, in
SdkManager.java.

    private static boolean checkPlatformContent(File platform, ISdkLog
log) {
        for (String relativePath : sPlatformContentList) {
            File f = new File(platform, relativePath);
            if (!f.exists()) {
                log.warning("Ignoring platform '%1$s': %2$s is
missing.",
                        platform.getName(), relativePath);
                return
false;
            }
        }
        return true;
    }

This code is strange: it try to locate tools/aapt.exe and many other
files under platform/android-<id>/. In fact, these files are in
platform-tools. However, in a workable sdk downloaded from google
site, aapt.exe is not in platform dir, and list target shows the right
target.

Can anyone give me a clue? Thanks.

pengguang

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to