The problem is that in the latest Android Studio, ARM system images for Android 2.3.3 (API 10) is no longer available for download from the SDK Manager. Instead there is an option called Google APIs, which downloads all files not in the Android\sdk\system-images
folder, but in the Android\sdk\add-ons
folder. Under that folder I'm indeed able to find system.img
and other files, so in theory I should be good to go. But in practice, when I try to run created AVD for Android 2.3.3 I get this error message:
Cannot launch AVD in emulator.
Output:
emulator: ERROR: This AVD's configuration is missing a kernel file!!
emulator: ERROR: ANDROID_SDK_ROOT is undefined
When I set ANDROID_SDK_ROOT path variable it changes the error message to this:
Cannot launch AVD in emulator.
Output:
emulator: ERROR: This AVD's configuration is missing a kernel file!!
emulator: ERROR: ANDROID_SDK_ROOT is defined (c:\Users\XXX\AppData\Local\Android\sdk) but cannot find kernel file in c:\Users\XXX\AppData\Local\Android\sdk\system-images\ sub directories
but still no result. It seems that it looking in the wrong directory. Please help. How can I get rid of that error and run that emulator? And what is the difference between system-images
and add-ons
folders in the android sdk? Why images from the first one I'm able to run without any trouble and the second one gets me an error?
Searched the web and stackoverflow for similar questions didn't find any correct answer.
Note: Do NOT suggest to download Intel x86 Atom Image - it's useless for me, because I have AMD processor. Do NOT suggest Genymotion, that is not the point of this question.