I’v checkout the latest jme3 and then I imported the jars needed to not get any error in my game.
I’v imported:
jME3-android.jar
jME3-core.jar
jME3-plugins.jar
stack-alloc.jar
vecmath.jar
xmlpull-xpp3.jar
But when I run my game, It manage to render the game once, then I get the following error message:
:26:06.731: E/AndroidHarness(6262): com.jme3.renderer.RendererException: OpenGL Error 1280. Enable error checking for more info.
E/AndroidHarness(6262): at com.jme3.renderer.android.OGLESShaderRenderer.onFrame(OGLESShaderRenderer.java:746)
E/AndroidHarness(6262): at com.jme3.system.android.OGLESContext.onDrawFrame(OGLESContext.java:384)
I can see the planets and the sun, my rocketstation etc with no problem, but only for a glimps of a second.
Then this error pops up. And I dont know how to enable error checking.
So what should I do?
For some reason I was still using an old nightly build.
So I tried to use the checkout jme. Problem is, it does not contain the jars I need.
As said, my game runs if it got access to these jars:
jME3-android.jar
jME3-core.jar
jME3-plugins.jar
stack-alloc.jar
vecmath.jar
xmlpull-xpp3.jar
But it does not. I can not find them.
I do find vecmath and xmlpull and stack-alloc.
But jME3-core does not exsist
jME3-android is replaced by android.jar?
jME3-plugins can not be found.
It’s door number 1. normen is just sarcastic . Okay I did have that problem but that’s just because the stupid OpenGL check just flaged the version and I modified it so it didn’t happen again. Anyways, the new updates should be working now. When you use the svn with eclipse, you have to build it with JDK and not JRE. Don’t assume the jars will be there just because you use svn Checkout.
BUILD FAILED
C:Program FileseclipsejME3svnbuild.xml:39: The following error occurred while executing this line:
C:Program FileseclipsejME3svnnbprojectbuild-impl.xml:346: Error running javac.exe compiler
Total time: 1 second
What it says is:
[xml]BUILD FAILED
C:Program FileseclipsejME3svnbuild.xml:39: The following error occurred while executing this line: gensrcdir="${build.generated.sources.dir}"/>
C:Program FileseclipsejME3svnnbprojectbuild-impl.xml:346: Error running javac.exe compiler:
<javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">[/xml]