开发者

problem installing application on android

I have developed an application for android in android sd开发者_运维技巧k 2.2 But when i tried to install an application on mobile with version 2.1, it throws an error "There is problem parsing the package". How do i solve this error? thanks in advance


Your application works only on sdk version 2.2 and above,if you need to support on sdk version 2.1,choose sdk version below 2.1 sdk version.


Check following parameters on your manifest file

android:minSdkVersion

This is an integer that indicates the minimum API Level required to properly run your application.

android:targetSdkVersion

An integer designating the API Level that the application is targetting. 

More details on

http://developer.android.com/guide/topics/manifest/uses-sdk-element.html


you have developped your application on version 2.2, which means that your app will work only on sdk 2.2 or higher , because possibly you have used some packages and classes which arent exist on sdk2.1 ,

to make your app work on sdk2.1 , change the sdk of your application to 2.1 , and modify ( if necessary ) the code that is not supported on 2.1 .

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜