Android Question B4A 13 Beta & Libgdx

ilan

Expert
Licensed User
Longtime User
hi

i am updating all my apps to target APi34 and everything worked fine until my LibGDX app that i updated 6 month ago without any issues.

this is the logs:

** Activity (main) Pause, UserClosed = false **
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create (first time) **
CREATE
** Activity (main) Resume **
RESUME
sensor listener setup
java.lang.IllegalArgumentException
at com.google.android.gles_jni.EGLImpl._eglCreateContext(Native Method)
at com.google.android.gles_jni.EGLImpl.eglCreateContext(EGLImpl.java:63)
at com.badlogic.gdx.backends.android.surfaceview.GLSurfaceView20$b.createContext(SourceFile:176)
at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1060)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1431)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1272)
*** Service (firebasemessaging) Create ***
** Service (firebasemessaging) Start **
** Activity (main) Pause, UserClosed = true **
PAUSE
true
sensor listener tear down
Managed meshes/app: { }
Managed textures/app: { }
Managed shaders/app: { }
Managed buffers/app: { }
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Service (starter) Destroy (ignored)**

does libgdx needs an update to run with the new b4a version?
 

walterf25

Expert
Licensed User
Longtime User
hi

i am updating all my apps to target APi34 and everything worked fine until my LibGDX app that i updated 6 month ago without any issues.

this is the logs:



does libgdx needs an update to run with the new b4a version?
Seems like a problem with openGL library.
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
running on physical device works. on emulator not. i have not used libgdx for a lot time. could it be that libgdx does not run on emulator?
 
Upvote 0

walterf25

Expert
Licensed User
Longtime User
running on physical device works. on emulator not. i have not used libgdx for a lot time. could it be that libgdx does not run on emulator?
Ah, yeah on emulators won't work if you're using some of the sensors.
 
Upvote 0
Top