libstreaming icon indicating copy to clipboard operation
libstreaming copied to clipboard

SurfaceHolder error

Open serpro opened this issue 10 years ago • 1 comments

In some Samsung devices (Running Android 5 or 5.1) Galaxy S2 (GT-I9100) Galaxy S6 (zeroflte) Galaxy S6 Edge (zerolte) Galaxy Note5 (noblelte)

I'm getting this error: java.lang.IllegalArgumentException: Make sure the SurfaceView or associated SurfaceHolder has a valid Surface at android.opengl.EGL14._eglCreateWindowSurface(Native Method) at android.opengl.EGL14.eglCreateWindowSurface(EGL14.java:263) at net.majorkernelpanic.streaming.gl.SurfaceManager.eglSetup(SurfaceManager.java:155) at net.majorkernelpanic.streaming.gl.SurfaceManager.(SurfaceManager.java:79) at net.majorkernelpanic.streaming.gl.SurfaceView.run(SurfaceView.java:134) at java.lang.Thread.run(Thread.java:818)

I also get this error But I think is because android.opengl.EGL14 is available from API 17:

java.lang.NoClassDefFoundError: android.opengl.EGL14 at net.majorkernelpanic.streaming.gl.SurfaceManager.eglSetup(SurfaceManager.java:103) at net.majorkernelpanic.streaming.gl.SurfaceManager.(SurfaceManager.java:79) at net.majorkernelpanic.streaming.gl.SurfaceView.run(SurfaceView.java:134) at java.lang.Thread.run(Thread.java:856)

It seems to be just in Samsung devices as I'm testing with other brands and it works fine.

serpro avatar Nov 05 '15 10:11 serpro

I am getting this error "java.lang.IllegalArgumentException: Make sure the SurfaceView or associated SurfaceHolder has a valid Surface " in Android 5.1.1 How to resolve this

Shanmugamsundarrajan avatar Sep 02 '17 11:09 Shanmugamsundarrajan