简体   繁体   中英

Application build on Android2.2 platform not working on emulator of 2.3.3 platform

I am new in android, Please help me .... I build an application in android 2.2platform but when i test it on an emulator of version 2.3.3 and higher it is not working . Is there any problem of emulators or I have to build the same application with the 2.3.3 platform .....???

Make sure that your AndroidManifest.xml has a line like the following:

<uses-sdk android:minSdkVersion="8"
          android:targetSdkVersion="8"
          android:maxSdkVersion="10" />

This says, essentially, "I would like to target 2.2 devices, but the application should run on any devices up to 2.3.4."

You can get more information about uses-sdk at http://developer.android.com/guide/topics/manifest/uses-sdk-element.html

Please check your Manifest file in that is there any code like ? If yes then remove that line and then test it or set that at which level you want to run your application.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM