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 systemlibstdc++
(but not Qt libraries), in cases where the bundled ones (from Android SDK) prevent it from loading or working correctly. See this commit - Alternatively you can set the
ANDROID_EMULATOR_USE_SYSTEM_LIBS
environment variable to1
for 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
Related Posts:
- Why emulator is very slow in Android Studio?
- Default Activity not found in Android Studio
- ERROR Android emulator gets killed
- Error while waiting for device: Time out after 300seconds waiting for emulator to come online
- Android Studio 3.2 – Could not find com.android.tools.build:aapt2:3.2.0-4818971
- Android Studio : How to uninstall APK (or execute adb command) automatically before Run or Debug?
- PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT (in windows 10)
- Could not automatically detect an ADB binary – Android Studio
- Why AVD Manager options are not showing in Android Studio
- Android Studio doesn’t see device
- Gradle error: Write access is allowed from event dispatch thread only in Android Studio
- Android Studio : Failed to set EGL_SWAP_BEHAVIOR on surface
- Why is the Android emulator screen blank?
- Your CPU does not support VT-x
- Android Studio – Emulator – eglSurfaceAttrib not implemented
- Emulator: ERROR: x86 emulation currently requires hardware acceleration
- Emulator: ERROR: x86 emulation currently requires hardware acceleration
- ‘App not Installed’ Error on Android
- ‘App not Installed’ Error on Android
- “unable to locate adb” using Android Studio [duplicate]
- “unable to locate adb” using Android Studio [duplicate]
- ADB.exe is obsolete and has serious performance problems
- Where is adb.exe in windows 10 located?
- What is Gradle in Android Studio?
- Android Studio Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
- Enable VT-x in your BIOS security settings (refer to documentation for your computer)
- “Default Activity Not Found” on Android Studio upgrade
- I am getting error: Configuration ‘compile’ is obsolete and has been replaced with ‘implementation’. It will be removed at the end of 2018
- Change project name on Android Studio
- Execution failed for task ‘:app:processDebugResources’ even with latest build tools
- Set adb vendor keys
- how to overcome Android Studio cannot resolve symbol for android classes
- Execution failed app:processDebugResources Android Studio
- Android Studio Run/Debug configuration error: Module not specified
- Android Emulator Error Message: “PANIC: Missing emulator engine program for ‘x86’ CPUS.”
- Could not find or load main class org.gradle.wrapper.GradleWrapperMain
- Android – could not install *smartsocket* listener
- “Failed to install the following Android SDK packages as some licences have not been accepted” error
- A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution
- ADK vs JDK vs SDK difference?
- No matching client found for package name (Google Analytics) – multiple productFlavors & buildTypes
- Intel HAXM is required to run this AVD
- Why is Android Studio reporting “URI is not registered”?
- No Sound coming from Android Emulator [duplicate]
- Unfortunately Launcher3 has stopped working error in android studio?
- Android Studio: Unable to obtain result of ‘adb version’
- No tests found for given includes Error, when running Parameterized Unit test in Android Studio
- Getting error “The package appears to be corrupt” while installing apk file
- Execution Failed for task :app:compileDebugJavaWithJavac in Android Studio
- How to print to the console in Android Studio?
- Error running android: Gradle project sync failed. Please fix your project and try again
- ‘Source code does not match the bytecode’ when debugging on a device
- Execution failed for task ‘:app:compileDebugJavaWithJavac’ Android Studio 3.1 Update
- Error getGoogleAppId failed with status: 10 Android KitKat – GCM and Google Drive
- Error:Execution failed for task ‘:app:transformClassesWithDexForDebug’
- Cannot resolve symbol “Intent”
- Android Studio – How Can I Make an AVD With ARM Instead of HAXM?
- Android Studio : com.android.ide.common.process.ProcessException: Failed to execute aapt
- What does “Failure [INSTALL_FAILED_OLDER_SDK]” mean in Android Studio?
- Error while waiting for device: Time out after 300seconds waiting for emulator to come online
- Android Studio SDK location
- Android Studio SDK location
- Rename package in Android Studio
- Android Studio-No Module
- Application Installation Failed in Android Studio
- Android Studio 1.2.1.1 – Failed to find style ‘textViewStyle’
- First run of Android Studio. Unable to access Android SDK add-on list
- Android Studio: “Execution failed for task ‘:app:mergeDebugResources’” if project is created on drive C:
- Does anyone know the what’s causing “Package name is not a valid package name” when adding a new layout?
- How to completely uninstall Android Studio from windows(v10)?
- Namespace ‘app’ not bound, in Android Studio with external lib from Maven
- Android Studio ERROR: Cannot resolve symbol ‘View’
- DELETE_FAILED_INTERNAL_ERROR Error while Installing APK
- How to install Google Play Services in a Genymotion VM (with no drag and drop support)?
- emulator: incompatible HAX module version 3 requirs minimum version 4
- Unsupported major.minor version 52.0 when rendering in Android Studioandroid android-studio rendering preview
- How to add an image to the “drawable” folder in Android Studio?
- Android Studio is slow (how to speed up)?
- E/AndroidRuntime﹕ FATAL EXCEPTION: main
- Android Emulator: Unfortunately App has stopped
- Android Studio – Company Domain Name
- How to add a jar in External Libraries in Android Studio?
- Where to place the ‘assets’ folder in Android Studio?
- why android studio show error of “Missing constraints in constraintlayout”?
- Android studio logcat nothing to show
- Remove Project from Android Studio
- Android SDK path not specified
- How to solve failed to find build tools revision 26.0.2?
- How do I “select Android SDK” in Android Studio?
- How to disable Instant Run for Android Studio 3.0
- Cannot resolve symbol ‘AppCompatActivity’
- Re-enable “component tree” in Android Studio
- How fix Error:java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:
- “Gradle Version 2.10 is required.” Error
- Android studio- “SDK tools directory is missing”
- Android Studio – ADB Error – “…device unauthorized. Please check the confirmation dialog on your device.”
- HAX kernel module is not installed
- Failed to find style ‘coordinatorLayoutStyle’ in current theme
- SDK Location not found in android studio
- SDK Location not found in android studio