2013-09-26 38 views
1

我試圖運行Animation3DTest的libgdx的測試實例不能在Android

在桌面上(LWJGL)我可以完美地運行這個測試之一,我可以看到一個傢伙,劍運行libgdx的「Animation3DTest」和我可以在沒有任何錯誤的情況下移動他。

但是,在Android上,開始本次測試後,我得到了力站,這裏是顯示在logcat的

09-24 10:46:49.526 24530-24577/com.badlogic.gdx.tests.android E/AndroidRuntime﹕ FATAL EXCEPTION: GLThread 1445 
com.badlogic.gdx.utils.GdxRuntimeException: File not found: com/badlogic/gdx/graphics/g3d/shaders/default.vertex.glsl (Classpath) 
at com.badlogic.gdx.files.FileHandle.read(FileHandle.java:133) 
at com.badlogic.gdx.backends.android.AndroidFileHandle.read(AndroidFileHandle.java:77) 
at com.badlogic.gdx.files.FileHandle.length(FileHandle.java:563) 
at com.badlogic.gdx.backends.android.AndroidFileHandle.length(AndroidFileHandle.java:162) 
at com.badlogic.gdx.files.FileHandle.readString(FileHandle.java:192) 
at com.badlogic.gdx.files.FileHandle.readString(FileHandle.java:186) 
at com.badlogic.gdx.graphics.g3d.shaders.DefaultShader.getDefaultVertexShader(DefaultShader.java:249) 
at com.badlogic.gdx.graphics.g3d.utils.DefaultShaderProvider.<init>(DefaultShaderProvider.java:44) 
at com.badlogic.gdx.graphics.g3d.ModelBatch.<init>(ModelBatch.java:101) 
at com.badlogic.gdx.tests.g3d.BaseG3dTest.create(BaseG3dTest.java:38) 
at com.badlogic.gdx.tests.g3d.BaseG3dHudTest.create(BaseG3dHudTest.java:50) 
at com.badlogic.gdx.tests.g3d.Animation3DTest.create(Animation3DTest.java:45) 
at com.badlogic.gdx.backends.android.AndroidGraphics.onSurfaceChanged(AndroidGraphics.java:322) 
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1514) 
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1242) 

回答

0

獲取latest nightly構建。這是bug report

+0

我已經在9月23日晚上,仍然有這個bug :( –

+0

@ nubhihi219如果你打開罐子,你看到這個文件:com/badlogic/gdx/graphics/g3d/shaders/default.vertex。 glsl? –

+0

是的,我可以在'gdx.jar'中看到該文件。 –