What to do when you are trying to create an Android app and “No Target Availability”?

I am trying to create an Android project with Eclipse, but the Next button is grayed out in the New Android Project window.

In the "Target creation" section, the message "No target availability" is presented. I have everything else. Is there anything else I need for this to work?

+8
android eclipse
source share
5 answers

Do not forget to specify the SDK manager for android in the directory in which you installed the SDK?

Without this path, it will not allow you to select any version of Android that you make by clicking on the link:

windows -> settings -> android

then set the path to your SDK, and then click apply. And it should be populated with versions.

Hope this helps.

Update: also be sure to create an emulator if you plan to use the emulator by going to:

Window -> Android SDK and AVD Manager and create an emulator with 10 mibs of space, and you should be golden.

+7
source share

Have you set the SDK location in Windows> Preferences> Android?

+1
source share

Are any AVDs created? In my Eclipse, in the New Android Project dialog box, the Create Target group box lists the AVDs that I created as targets, with checkboxes next to their names.

0
source share

I had the same problem. If the JoxTraex suggestion above doesn't seem to do anything, try exiting and restarting Eclipse and setting your preference again. It made him work for me.

0
source share

My equal issue was a duplicate installation in two different folders.

check if the path in the environment settings is the same as the one using the link for android studio. In my case, the paths were as follows:

C:\Program Files\Android\Android Studio\bin 

and

 C:\Program Files (x86)\Android\android-sdk. 

The latter was correct. Detected when the 'android' command was run, which opened

 C:\Program Files (x86)\Android\android-sdk\sdk manager.exe 

not

 C:\Program Files\Android\Android Studio\bin\studio64.exe 

Installed API versions have been declared "removed."

I also advise you to uninstall all versions of the Android API in this last one.

0
source share

All Articles