[INSTALL_FAILED_OLDER_SDK] Error

Source: Internet
Author: User

After writing the demo, I found that the console printed a phrase like this: [INSTALL_FAILED_OLDER_SDK] Error.

The reason is that the Android version number of the test machine or the virtual machine we are using is too low.

defaultconfig {        ApplicationID "Com.example.demo"        minsdkversion        targetsdkversion        1        Versionname "1.0"    }
Like me this configuration can only install Android 5.0 or more on the system. At 5.0, you can't install it.

So when you run into project execution when you print out [INSTALL_FAILED_OLDER_SDK] in the console, we should go to the Androidmanifest.xml file to find it.

Android Studio is in Build.gradle

<USES-SDK android:minsdkversion= "android:targetsdkversion="/>

Because your minsdkversion version number is set too high to cause.

So we should be able to adjust the minsdkversion to the appropriate version number. Like I was directly adjusted to 10. There's no problem.

<USES-SDK android:minsdkversion= "ten" android:targetsdkversion= "/>"



[INSTALL_FAILED_OLDER_SDK] Error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.