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 Method)

E/AndroidRuntime(11971):        at

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

wn Source)

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

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


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




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?

Login or Signup to post a comment