The old SDK manager used previously can only install Android 3.2 APIs. You must update the SDK Manager version before installing Android 4.0 and Android 4.1. The method is as follows:
Step 1: Open the SDK manager,Select available packages,Click "Add add-on site..." and enter the URLHttp://developer.android.com/sdk/index.html
Step 2: Check the android repository and select "Install selected"
Then wait for the installation:
Step 3: After installation, an avdmanager.exe file is added to the sdkdirectory. Then restart the SDK manager,Select the Android version you want to install.The interface is as follows:
After the installation is complete, open eclipse again. The following prompt may appear:
Here, you can only install the new version of ADT. The method is as follows:
Open eclipse-> help-> eclipse marketplace and search for the keyword "ADT", such:
Click "Update pending.
Wait for the prompt and follow the prompt to proceed
After the installation is complete, restart eclipse. When you restart eclipse, it will start, so it will compare the card, do not process it, do not click it, put it aside and let it initialize slowly.
After the initialization is complete, the logcat interface is found to be slightly changed, and a "scroll lock" function is added. This function is too necessary.