We initially built our app for 2.1. Now, we're trying to get it working on
1.5.

I changed the target to "3" in default.properties, and I copied over the
missing ant targets, but now I'm getting an error because "drawable-hdpi" is
an invalid res directory name.

It looks like this is switching me to the old build tools. I'd like to use
the latest tools but build against the 1.5 APIs. Am I missing something?

Thanks,
Bob

$ ant dogfood
Buildfile: build.xml
    [setup] Project Target: Google APIs
    [setup] Vendor: Google Inc.
    [setup] Platform Version: 1.5
    [setup] API level: 3

clean:

dirs:
     [echo] Creating output directories if needed...

resource-src:
     [echo] Generating R.java / Manifest.java from the resources...
     [exec]     (skipping hidden file
'/Users/crazybob/square/android/res/.DS_Store')
     [exec]     (skipping hidden file
'/Users/crazybob/square/android/res/drawable/.DS_Store')
     [exec] invalid resource directory name:
/Users/crazybob/square/android/res/drawable-hdpi
     [exec]     (skipping hidden file
'/Users/crazybob/square/android/res/raw/.DS_Store')

BUILD FAILED
/Users/crazybob/android-sdk/platforms/android-3/templates/android_rules.xml:85:
exec returned: 1

Total time: 0 seconds

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to