简体   繁体   中英

How change Android version when creating AVD?

I started android project in eclipse and I selected in project options android version 4.2.2. Now, when I try create AVD, can't select CPU/ABI, because no system images installed for this target.

So open the SDK Manager and download the desired CPU image and SDK version you would like to have:

在此处输入图片说明

U can change it in android manifest where we have option to change versions in terms of api levels like this...

android:minSdkVersion="10"

android:targetSdkVersion="17"/> Eg. If u want to keep ur basic version 2.3.3 then above code is for u

its in your project folder named "AndroidManifest.xml" change

<uses-sdk
        android:minSdkVersion="8"
        android:targetSdkVersion="9" />

change targetsdkversion to your compatible emulator which you have created

OR if you want to run it in 4.2

Download the latest API for version 4.2 from Android SDK Manager

Right Click On your Project

  1. Select Properties
  2. Select Android from Left Side
  3. Select the project build target for which u have the system image and press OK

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM