简体   繁体   中英

android application running in simulator but not in mobile devices

Recently I've created one android application using eclipse and ran it using android virtual device manager. It ran successfully in the simulator, but whenever I am trying to install it in mobile device HTC Salsa (2.3 ginger bread) it is showing an error message and not proceeding. The error message is:

Parse Error: There is a problem parsing the package

As it was my first demo application in android so it will be very helpful if you will guide me in this.

Got the issue, it was happening because of the API version. I have the target version as 4.0.3 ie, API 15 but ginger bread is of API 10. So I've modified the line <uses-sdk android:minSdkVersion="15" /> in manifest file to <uses-sdk android:minSdkVersion="10" /> . Now it is working fine. Thanks for all of your help...

尝试“清理”然后“重建”您的项目。

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