Android Studio 2.0 Cannot launch AVD in emulator -
i can launch avds targets android 5.1 (google apis) , android 6.0 (google apis), both using cpu=x86. avd create android 4.1 (google apis) using cpu=arm cannot launched. when try launch see dialog:
cannot launch avd in emulator. output: emulator: error: avd's configuration missing kernel file!! emulator: error: android_sdk_root undefined
since 2 avds work i'm sure android_sdk_root defined. i've verified file -> project structure -> sdk location correct.
i have run android sdk manager, uninstalled api 16 items , reinstalled these api 16 items:
sdk platform intel x86 atom system images arm eabi v7a system image google apis sources android sdk
within android sdk manager other libraries , packages date. , have restarted windows 7 computer.
also note forced create api 16 avd cpu=arm rather using cpu=x86 android virtual device manager, when showing available system images, not show x86 image target=android 4.1 google apis).
does know problem is? or suggest things can try debug issue?
edit day after opening question: since i've seen no answer i'm assuming android studio bug. i've input bug report - https://code.google.com/p/android/issues/detail?id=207494
i got same error while trying run arm based emulator of api 16. got error when arm images downloaded android-studio itself( not using standalone sdk manager option under system settings->android sdk in android-studio).
i solved launching standalone sdk manager android studio. open tools->manage avds standalone sdk manager menu. here can find emulators. observed arm cpu emulator shows question marks in columns named platform,api label,cpu/abi. seems sort bug. select emulator , click on edit. choose target api,cpu/abi , click ok. emulator works perfectly. solved problem.
i figured out updating android-studio caused problem me.
Comments
Post a Comment