Issue
It works in google avd,but when I run in genymotion,it failed.And here is the output message:
Installing com.example.test2
DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.example.test2"
pkg: /data/local/tmp/com.example.test2
Failure [INSTALL_FAILED_OLDER_SDK]
What can I do ? Thank you very much!
Solution
It's because the the version of android of the simulator is higher than the minimum version specified for app in AndroidManifest.xml.
To fix change the minSdkVersion to a number less than or equal to the version of the android of the simulator.
Eg: If you are running Android 4.1.1 (API 16) on the simulator make sure the following entry in AnndroidManifest has proper value
Answered By - aks
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.