Start a new topic

java.lang.IllegalArgumentException from Android ArchitectView

java.lang.IllegalArgumentException from Android ArchitectView


Hi Wikitude team,

I encountered an IllegalArgumentException while using you SDK on the Android platform. The crash was encountered on a Samsung Nexus S device running JB.

 

E/AndroidRuntime(11971): FATAL EXCEPTION: GLThread 1020

E/AndroidRuntime(11971): java.lang.IllegalArgumentException: Make sure the SurfaceView or associated SurfaceHolder has a

 valid Surface

E/AndroidRuntime(11971):        at com.google.android.gles_jni.EGLImpl._eglCreateWindowSurface(Native Method)

E/AndroidRuntime(11971):        at com.google.android.gles_jni.EGLImpl.eglCreateWindowSurface(EGLImpl.java:90)

E/AndroidRuntime(11971):        at com.wikitude.architect.PVRShellView$OurWindowSurfaceFactory.createWindowSurface(Unkno

wn Source)

E/AndroidRuntime(11971):        at android.opengl.GLSurfaceView$EglHelper.createSurface(GLSurfaceView.java:1077)

E/AndroidRuntime(11971):        at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1471)

 

It would be helpful if you could provide insight into why this exception would occur.

Thanks,

Harrison

 

Hi there!


Do you have same issue when launching the SimpleARBrowser sample project?

When does the crash occur?

Do you have a custom ROM? Have you tested it on another device?


Regards,
Andi
Login or Signup to post a comment