AndroidStudio tells me that my emulator is not compatible with my project, why if the emulator is api10 and the project is api3?

I am running NexusOne in an emulator, with Android 2.3.3 (sdk10)

My project was android:minSdkVersion="3" android:targetSdkVersion="10" , and when I try to run it on my nexusOne emulator (since 2.3.3.), It says that it is not compatible in the selection window.

If I try to set this as the preferred emulator in the settings, it will simply refuse to run and show a small warning saying that it is incompatible.

enter image description here

I tried to change the manifest even by reading android:minSdkVersion="3" android:targetSdkVersion="3" and all the same result ...

If I just select an emulator from the list without first selecting it, it shows incompatible, but works without any problems.

enter image description here

Any ideas why? (PS I have no idea why this empty space ... feel free to edit and delete :) the only thing in this white space is the footnotes of the image ... which should not be displayed)

Edit: I thought I solved the problem and wrote this incorrect answer while loading the SDK. But when it booted up and I created a new AVD using Android 2.3.3 (api10), the same thing happened. Studio photos say they are incompatible.

Android Studio installs its own copy of SDKmanager in a non-standard place.

The standalone SDK manager that I already had is located at:

 C:\Users\You\.android 

android studio is on

 C:\Users\You\AppData\Local\Android\android-studio\sdk 

But the AVD manager seems to store the AVD data in the same place, regardless of where the SDK manager is located. So, the studio SDK Manager uses, thinks that I am missing 2.3.3 api, but the AVD manager knows where to get to the right / previous place.

will just load the SDKs that I need in both places ... sucks so there is no symbolic link

+6
source share
1 answer

Compatibility check is incorrect: https://code.google.com/p/android/issues/detail?id=55837

As for the SDK, you can configure Android Studio to use the same SDK as Eclipse, and not the SDK that comes with it. You can do this by changing Project Structure | SDK's Project Structure | SDK's .

+9
source

Source: https://habr.com/ru/post/945960/


All Articles