MINSDK (API) > devicesdk (API 19) solutions

Source: Internet
Author: User

The "MINSDK (API) > devicesdk (API 19)" prompt appears when you run the project, because I use the phone is the SDK (API19), and the project requirements are the minimum version is MINSDK (API 26), in my emulator or phone is not run

Workaround:
One, that is, the minimum version is sdk19 and below, the point opened the Build.gradle, the inside of the MINSDK changed to 19 or less than 19.

Note the point:
If the project uses the API 21 and above things, then in the run time will still error, you can not find the resources, you only this test machine, you will use the place to make comments, that is, ignore the use of api21 that part of the content, the project can be run, but if you want to see the full project effect, Then you can only find one other cell phone, the following method.
Second, that can only find an API 21 and above the mobile phone, this is mainly used in the project android5.0 and above features.
Only use android5.0 and above the phone, you can see the effect.

MINSDK (API) > devicesdk (API 19) solutions

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.