Android Studio Avd - Emulator: Process Finished With Exit Code 1
Solution 1:
These are known errors from libGL and libstdc++
You can quick fix this by change to use Software for Emulated Performance Graphics option, in the AVD settings.
Or try to use the libstdc++.so.6 (which is available in your system) instead of the one bundled inside Android SDK. There are 2 ways to replace it:
The emulator has a switch
-use-system-libs. You can found it here:~/Android/Sdk/tools/emulator -avd Nexus_5_API_23 -use-system-libs.This option force Linux emulator to load the system
libstdc++(but not Qt libraries), in cases where the bundled ones (from Android SDK) prevent it from loading or working correctly. See this commitAlternatively you can set the
ANDROID_EMULATOR_USE_SYSTEM_LIBSenvironment variable to1for youruser/system.This has the benefit of making sure that the emulator will work even if you launched it from within Android Studio.
See: libGL error and libstdc++: Cannot launch AVD in emulator - Issue Tracker
Solution 2:
This works to me:
click in Sdk manager in SDK Tools and:

Unistal and install the Android Emulator:

Hope to help!
Solution 3:
In AVD Manager -> Edit -> Show Advanced Settings -> Boot Options (Selct Cold boot). That fixed my issue
Solution 4:
Check android studio event log as it could be low storage issue.
emulator: ERROR: Not enough disk space to run AVD 'Nexus_5_API_21'. Exiting...
Solution 5:
Android make the default avd files in the C:\Users\[USERNAME]\.android directory. Just make sure you copy the avd folder from this directory C:\Users\[USERNAME]\.android to C:\Android\.android. My problem was resolved after doing this.
Post a Comment for "Android Studio Avd - Emulator: Process Finished With Exit Code 1"