无法在Android上加载GLProfile(maven repo 2.0rc11post06)

时间:2013-03-07 17:20:23

标签: android maven jogl

我无法使用在jogl网站上找到的maven repo版本2.0rc11post06在Android上加载JOGL。当我尝试获取任何GLProfile时,抛出以下expcetion:

Profile GL2ES2 is not available on EGLGraphicsDevice[type .egl, connection decon, unitID 0, handle 0x1, owner true, NullToolkitLock[]], but: []

logcat显示以下缺少的方法,虽然我已经添加了android本机,据我所知(如果需要可以发布pom.xml):

03-05 21:51:11.935: INFO/SurfaceFlinger(1823): id=6382(381) createSurface (1600x480),-1 flag=20000, BlackSurface 
03-05 21:51:11.935: INFO/o.盅(11938): restoreMySettings_ifNeeded() 
03-05 21:51:11.935: ERROR/Icing(11909): Not enough disk space. Will not index. 
03-05 21:51:11.940: INFO/o.盅(11938): Internal settings found => No need to restore. 
03-05 21:51:11.950: INFO/SurfaceFlinger(1823): id=6383(382) createSurface (800x960),-1 flag=20000, BlackSurface 
03-05 21:51:11.955: INFO/ActivityManager(8163): No longer want app.processName (pid 10916): hidden #26 
03-05 21:51:11.965: DEBUG/JogAmp.NEWT(11847): onCreate 
03-05 21:51:12.015: DEBUG/dalvikvm(11847): Trying to load lib /data/data/com.example.shadingzen_helloworld/lib/libgluegen-rt.so 0x41599840 
03-05 21:51:12.015: DEBUG/dalvikvm(11847): Added shared lib /data/data/com.example.shadingzen_helloworld/lib/libgluegen-rt.so 0x41599840 
03-05 21:51:12.015: DEBUG/dalvikvm(11847): No JNI_OnLoad found in /data/data/com.example.shadingzen_helloworld/lib/libgluegen-rt.so 0x41599840, skipping init 
03-05 21:51:12.025: WARN/Resources(11938): Converting to string: TypedValue{t=0x10/d=0x0 a=-1} 
03-05 21:51:12.025: ERROR/dalvikvm(11847): Could not find class 'com.jogamp.nativewindow.x11.X11GraphicsDevice', referenced from method javax.media.nativewindow.NativeWindowFactory.createScreen 
03-05 21:51:12.025: WARN/dalvikvm(11847): VFY: unable to resolve check-cast 251 (Lcom/jogamp/nativewindow/x11/X11GraphicsDevice;) in Ljavax/media/nativewindow/NativeWindowFactory; 
03-05 21:51:12.025: DEBUG/dalvikvm(11847): VFY: replacing opcode 0x1f at 0x0008 
03-05 21:51:12.025: ERROR/dalvikvm(11847): Could not find class 'com.jogamp.nativewindow.awt.AWTGraphicsDevice', referenced from method javax.media.nativewindow.NativeWindowFactory.createScreen 
03-05 21:51:12.025: WARN/dalvikvm(11847): VFY: unable to resolve check-cast 240 (Lcom/jogamp/nativewindow/awt/AWTGraphicsDevice;) in Ljavax/media/nativewindow/NativeWindowFactory; 
03-05 21:51:12.025: DEBUG/dalvikvm(11847): VFY: replacing opcode 0x1f at 0x001d 
03-05 21:51:12.040: DEBUG/dalvikvm(11847): DexOpt: unable to opt direct call 0x06bc at 0x12 in Ljavax/media/nativewindow/NativeWindowFactory;.createScreen 
03-05 21:51:12.040: DEBUG/dalvikvm(11847): DexOpt: unable to opt direct call 0x067b at 0x21 in Ljavax/media/nativewindow/NativeWindowFactory;.createScreen 
03-05 21:51:12.045: WARN/Resources(11938): Converting to string: TypedValue{t=0x10/d=0x0 a=-1} 
03-05 21:51:12.055: WARN/Resources(11938): Converting to string: TypedValue{t=0x10/d=0x0 a=-1} 
03-05 21:51:12.055: WARN/Resources(11938): Converting to string: TypedValue{t=0x10/d=0xf a=-1} 
03-05 21:51:12.055: WARN/Resources(11938): Converting to string: TypedValue{t=0x10/d=0x80 a=-1} 
03-05 21:51:12.055: WARN/Resources(11938): Converting to string: TypedValue{t=0x10/d=0x80 a=-1} 
03-05 21:51:12.055: WARN/Resources(11938): Converting to string: TypedValue{t=0x10/d=0x3 a=-1} 
03-05 21:51:12.055: WARN/Resources(11938): Converting to string: TypedValue{t=0x10/d=0x3 a=-1} 
03-05 21:51:12.070: DEBUG/dalvikvm(11938): GC_CONCURRENT freed 238K, 4% free 9400K/9735K, paused 2ms+2ms 
03-05 21:51:12.075: WARN/Resources(11938): Converting to string: TypedValue{t=0x10/d=0x20 a=-1} 
03-05 21:51:12.075: WARN/Resources(11938): Converting to string: TypedValue{t=0x10/d=0x20 a=-1} 
03-05 21:51:12.075: WARN/Resources(11938): Converting to string: TypedValue{t=0x10/d=0x1 a=-1} 
03-05 21:51:12.085: WARN/Resources(11938): Converting to string: TypedValue{t=0x10/d=0x3 a=-1} 
03-05 21:51:12.085: WARN/Resources(11938): Converting to string: TypedValue{t=0x10/d=0x3 a=-1} 
03-05 21:51:12.090: ERROR/dalvikvm(11847): Could not find class 'com.jogamp.nativewindow.x11.X11GraphicsDevice', referenced from method jogamp.opengl.egl.EGLGraphicsConfigurationFactory.registerFactory 
03-05 21:51:12.090: WARN/dalvikvm(11847): VFY: unable to resolve const-class 251 (Lcom/jogamp/nativewindow/x11/X11GraphicsDevice;) in Ljogamp/opengl/egl/EGLGraphicsConfigurationFactory; 
03-05 21:51:12.090: DEBUG/dalvikvm(11847): VFY: replacing opcode 0x1c at 0x000e 
03-05 21:51:12.090: ERROR/dalvikvm(11847): Could not find class 'com.jogamp.nativewindow.x11.X11GraphicsDevice', referenced from method jogamp.opengl.egl.EGLGraphicsConfigurationFactory.unregisterFactory 
03-05 21:51:12.090: WARN/dalvikvm(11847): VFY: unable to resolve const-class 251 (Lcom/jogamp/nativewindow/x11/X11GraphicsDevice;) in Ljogamp/opengl/egl/EGLGraphicsConfigurationFactory; 
03-05 21:51:12.090: DEBUG/dalvikvm(11847): VFY: replacing opcode 0x1c at 0x000a 
03-05 21:51:12.110: DEBUG/dalvikvm(11847): Trying to load lib /data/data/com.example.shadingzen_helloworld/lib/libjogl_mobile.so 0x41599840 
03-05 21:51:12.110: DEBUG/dalvikvm(11847): Added shared lib /data/data/com.example.shadingzen_helloworld/lib/libjogl_mobile.so 0x41599840 
03-05 21:51:12.110: DEBUG/dalvikvm(11847): No JNI_OnLoad found in /data/data/com.example.shadingzen_helloworld/lib/libjogl_mobile.so 0x41599840, skipping init 
03-05 21:51:12.110: INFO/dalvikvm(11958): Turning on JNI app bug workarounds for target SDK version 11... 
03-05 21:51:12.115: INFO/ActivityManager(8163): Start proc app.processName for broadcast hostingNameStr: pid=11958 uid=10171 gids={3003, 1015, 1023} 
03-05 21:51:12.115: INFO/ActivityManager(8163): No longer want app.processName (pid 6773): hidden #26 
03-05 21:51:12.185: WARN/ActivityManager(8163): Scheduling restart of crashed service r.shortName in 5000ms 
03-05 21:51:12.215: DEBUG/libEGL(11847): loaded /system/lib/egl/libEGL_mali.so 
03-05 21:51:12.225: DEBUG/libEGL(11847): loaded /system/lib/egl/libGLESv1_CM_mali.so 
03-05 21:51:12.230: DEBUG/libEGL(11847): loaded /system/lib/egl/libGLESv2_mali.so 
03-05 21:51:12.230: DEBUG/(11847): Device driver API match 
        Device driver API version: 10 
        User space API version: 10 
03-05 21:51:12.230: DEBUG/(11847): mali: REVISION=Linux-r2p4-02rel0 BUILD_DATE=Fri May  4 10:32:42 KST 2012 
03-05 21:51:12.325: ERROR/dalvikvm(11847): Could not find class 'jogamp.opengl.gl4.GL4bcProcAddressTable', referenced from method jogamp.opengl.GLDebugMessageHandler.init 
03-05 21:51:12.325: WARN/dalvikvm(11847): VFY: unable to resolve instanceof 1055 (Ljogamp/opengl/gl4/GL4bcProcAddressTable;) in Ljogamp/opengl/GLDebugMessageHandler; 
03-05 21:51:12.325: DEBUG/dalvikvm(11847): VFY: replacing opcode 0x20 at 0x00f0 
03-05 21:51:12.325: INFO/dalvikvm(11847): DexOpt: unable to optimize instance field ref 0x1d46 at 0x144 in Ljogamp/opengl/GLDebugMessageHandler;.init 
03-05 21:51:12.330: INFO/dalvikvm(11847): DexOpt: unable to optimize instance field ref 0x1d45 at 0x149 in Ljogamp/opengl/GLDebugMessageHandler;.init 
03-05 21:51:12.360: DEBUG/dalvikvm(11847): GC_CONCURRENT freed 294K, 5% free 9329K/9735K, paused 1ms+1ms 
03-05 21:51:12.390: WARN/dalvikvm(11847): No implementation found for native Ljogamp/opengl/GLContextImpl;.glGetIntegervInt (I[IIJ)V 
03-05 21:51:12.390: INFO/SurfaceFlinger(1823): id=6378 Removed FreezeSurface idx=11 Map Size=4 
03-05 21:51:12.390: INFO/SurfaceFlinger(1823): id=6380 Removed BlackSurface idx=7 Map Size=4 
03-05 21:51:12.390: INFO/SurfaceFlinger(1823): id=6378 Removed FreezeSurface idx=-2 Map Size=4 
03-05 21:51:12.395: INFO/SurfaceFlinger(1823): id=6380 Removed BlackSurface idx=-2 Map Size=4 
03-05 21:51:12.395: INFO/SurfaceFlinger(1823): id=6381 Removed BlackSurface idx=7 Map Size=4 
03-05 21:51:12.395: INFO/SurfaceFlinger(1823): id=6382 Removed BlackSurface idx=7 Map Size=4 
03-05 21:51:12.395: INFO/SurfaceFlinger(1823): id=6381 Removed BlackSurface idx=-2 Map Size=4 
03-05 21:51:12.395: INFO/SurfaceFlinger(1823): id=6382 Removed BlackSurface idx=-2 Map Size=4 
03-05 21:51:12.395: INFO/SurfaceFlinger(1823): id=6383 Removed BlackSurface idx=7 Map Size=4 
03-05 21:51:12.395: INFO/SurfaceFlinger(1823): id=6383 Removed BlackSurface idx=-2 Map Size=4 
03-05 21:51:12.395: VERBOSE/WindowManager(8163): rotationForOrientationLw(orient=-1, last=3); user=0  mLidOpen=-1 mDockMode=0 mHdmiPlugged=false mAccelerometerDefault=1 sensorRotation=3 
03-05 21:51:12.455: WARN/dalvikvm(11847): No implementation found for native Ljogamp/opengl/GLContextImpl;.glGetIntegervInt (I[IIJ)V 
03-05 21:51:12.495: INFO/ApplicationPolicy(8163): getActualApplicationStateEnabled() : true 
03-05 21:51:12.590: DEBUG/dalvikvm(8163): GC_CONCURRENT freed 1923K, 39% free 26680K/43271K, paused 3ms+11ms 

对此问题的任何提示都非常感谢。提前谢谢。

0 个答案:

没有答案