Eclipse Modify API

Source: Internet
Author: User

Real Machine Debug times wrong, prompt application API 21,device API 10

Automatic Target mode:unable to detect device compatibility. Please select a target device.

There is no device when you turn on real machine debugging, and DDMS has a device online

Modify API to make compatible device current phone API.

To modify the API:

Low API version
Steps to modify:
The first step: Modify the <USES-SDK in Androidmanifest.xml android:minsdkversion= "ten"/> (if the device API is 10, modify it to 10)
Step Two: Modify the Project.Properties file in target=android-15 (or project right-->build path->configure Build Path. ->android-> to the right of the API to see which version of the API you installed)
Step three: right-click Project-->android tools-->fix Project Properties (This step I like Oh, after repair F5 refresh)

Complete

Androidmanifest.xml <uses-sdk android:minsdkversion= "Ten"/> the lowest API to include the API to debug your phone

Sometimes there will be launching in the process of error, the code is not wrong, I restart

INSTALL_FAILED_OLDER_SDK You install the APK into a system version below minsdkversion.

Two solutions:

1, go to Androidmanifest.xml to modify the value of minsdkversion;

2, if it is a simulator, you can create a more advanced version of the emulator (such as 2.3.3, such as the latest)

Eclipse Modify API

Related Article

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.