I tried to run OpenGL using the Google sample MediaEffect, so when I ran on Android Studio, the following error occurred and it stopped running.
I think it was working when I first ran.
Please tell me what to do.
06-14 10:57:47.178 7085-7085/?I/art NotNot late-enabling-Xcheck:jni (ready on)
06-14 10:57:47.257 7085-7085/com.example.android.mediaeffects I/MainActivity R Ready
06-14 10:57:47.281 7085-7101 / com.example.android.mediaeffects D/OpenGLRender U Use EGL_SWAP_BEHAVIOR_PRESERVED: true
06-14 10:57:47.284 7085-7085/com.example.android.mediaeffects D/ H HostConnection::get() New Host Connection established 0xb42b3ef0, tid7085
06-14 10:57:47.307 7085-7085/com.example.android.mediaeffects D/Atlas﹕Validating map...
06-14 10:57:47.351 7085-7101/com.example.android.mediaeffects D/ H HostConnection::get() New Host Connection established 0xb43d6240, tid7101
06-14 10:57:47.365 7085-7101/com.example.android.mediaeffects I/OpenGLRender In Initialized EGL, version 1.4
06-14 10:57:47.417 7085-7101/com.example.android.mediaeffects D/OpenGLRender En Enabling debug mode 0
06-14 10:57:47.445 7085-7101/com.example.android.mediaeffects W/EGL_emulation eeglSurfaceAttrib not implemented
06-14 10:57:47.445 7085-7101/com.example.android.mediaeffects W/OpenGLRender F Failed to set EGL_SWAP_BEHAVIOR on surface 0xb431e160, error=EGL_SUCCESS
06-14 10:57:47.528 7085-7100/com.example.android.mediaeffects D/ H HostConnection::get() New Host Connection established 0xb42b3cf0, tid7100
06-14 10:57:47.542 7085-7100/com.example.android.mediaeffects E/AndroidRuntime FAFATAL EXCEPTION—GLThread 172
Process: com.example.android.mediaeffects, PID:7085
java.lang.IllegalArgumentException—No config chosen
at android.opengl.GLSurfaceView $BaseConfigChooser.chooseConfig (GLSurfaceView.java:869)
at android.opengl.GLSurfaceView$EglHelper.start (GLSurfaceView.java:1023)
at android.opengl.GLSurfaceView$GLThread.guardedRun (GLSurfaceView.java:1400)
at android.opengl.GLSurfaceView$GLThread.run (GLSurfaceView.java:1239)
It's self-less.
This error did not occur after connecting the actual machine.
This is when you start the emulator from AVD Manager.
For now, I'll try the actual machine.
© 2024 OneMinuteCode. All rights reserved.