Hello! I think you should set in AndroidManifest.xml (in Uses SDK attribute) following options: Min SDK verion to 3 (it's corresponded to 1.5 SDK) Target SDK version to 3,4 or 5 (it is the best SDK for your application) Max SDK version to 5 (it's currently the last Android 2.0 SDK, but be careful with new 2.0 functionality )
Try this, I hope this helps you :) Tatyana :) On 8 Грд, 16:28, Lieuwe <lieuwe.elger...@gmail.com> wrote: > Hi, > > I have this strange problem here. I am fairly new to Android > development and I was just playing around putting a few bits and > pieces from several samples together. > > I created (in Eclipse) an Android 1.5 project (thats sdk version 3 > right?) .. now it creates the apk file no problem, Eclipse doesn't > indicate any problems either, but when I run this through my Android > 1.5 AVD I get an error message stating > > ERROR: Application requires API version 4. Device API version is 3 > (Android 1.5). > Launch canceled! > > so how come it is quite capable of linking against the 1.5 library > without errors, but it won't execute it in the AVD ... and more > important - how do I found out which bit of code I apparently use is > from API version 4?? -- 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