I took a crack at writing up the issue in Eclipse here: http://code.google.com/p/android/issues/detail?id=4303
On Oct 19, 5:12 pm, polyclefsoftware <dja...@gmail.com> wrote: > Here's the problem I'm running into: > > I'm using a resource directory qualifier (e.g. "res/drawable-hdpi/"). > Per the documentation's suggestion, I set the android:minSdkVersion to > "3" and the android:targetSdkVersion to "4". In Eclipse, if I set the > Project Build Target to Android 1.5, I get an error regarding the new > resource directory ("invalid resource directory name") and the project > won't compile. If I set the Project Built Target to Android 1.6, it > builds just fine, but then I can't run the app in the 1.5 emulator. > > On Oct 19, 2:11 pm, Lance Nanek <lna...@gmail.com> wrote: > > > Wouldn't an update written using the 1.6 SDK still be available to > > users on 1.5 as long as you set the android:minSdkVersion attribute on > > the uses-sdk element in the manifest to 3? > > > I know this works fine on the emulator with a 1.5 image, at least, > > since that is one of the tests I ran after adding small screen layout > > directories to one of my apps. > > > On Oct 19, 11:47 am, polyclefsoftware <dja...@gmail.com> wrote: > > > > So I'm trying to make sure my apps are compatible with the 1.6 SDK > > > emulator skins WVGA800 and WVGA854. > > > > The Android Developers Blog post regarding this seems strange to me. > > > The post talks about upgrading your app using the 1.6 SDK, then says > > > this: > > > > "Note that not all devices will be upgraded to Android 1.6 at the same > > > time. There will be significant number of users still with Android 1.5 > > > devices. To use the same apk to target Android 1.5 devices and Android > > > 1.6 devices, build your apps using Android 1.5 SDK and test your apps > > > on both Android 1.5 and 1.6 system images to make sure they continue > > > to work well on both types of devices." > > > > Now resource directory qualifiers (e.g. "res/drawable-mdpi/" or "res/ > > > layout-large") don't work with the 1.5 SDK. So right now as a dev I > > > have the choice to either: > > > > 1) Update my apps with the 1.6 SDK so that they are compatible with > > > the various 1.6 emulator skins and the various hardware configurations > > > coming out. If I do this, the updates will not be available to those > > > users that still have 1.5, which is a "significant number of users." > > > > 2) Continue using the 1.5 SDK, without the available tools in 1.6, but > > > try to somehow get my app to render properly in the various 1.6 > > > emulator skins. > > > > Is this about right? Is anyone else dealing with this right now? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---