Fatal error

I would like to create an AR app using jMonkey to create the 3D world. I am using a HTC desire (android 2.2.2)



I have build the https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:beginner:hello_simpleapplication example which build/runs fine in windows. However when I try to deploy it to android I get a fatal error: “android.opengl.GLES20.glvertexAttribPointer: java.lang.NoSuchMethodError”



Using the same package it works on a LG-P990 (android 2.3.4).



Is this a problem with my phone (htc desire)? can somebody confirm if it is possible to use this phone to develop an app using jMonkey?

This is the logCat of the error:


01-13 15:23:39.742: ERROR/AndroidHarness(1034): java.lang.NoSuchMethodError: android.opengl.GLES20.glVertexAttribPointer
01-13 15:23:39.752: ERROR/AndroidHarness(1034): SEVERE AndroidHarness 15:23:39 Exception thrown in Thread[GLThread 10,5,main]: at com.jme3.renderer.android.OGLESShaderRenderer.setVertexAttrib(2435)
01-13 15:23:39.752: ERROR/AndroidHarness(1034): at com.jme3.renderer.android.OGLESShaderRenderer.setVertexAttrib(2450)
01-13 15:23:39.752: ERROR/AndroidHarness(1034): at com.jme3.renderer.android.OGLESShaderRenderer.renderMeshDefault(2727)
01-13 15:23:39.752: ERROR/AndroidHarness(1034): at com.jme3.renderer.android.OGLESShaderRenderer.renderMesh(2778)
01-13 15:23:39.752: ERROR/AndroidHarness(1034): at com.jme3.material.Material.render(1028)
01-13 15:23:39.752: ERROR/AndroidHarness(1034): at com.jme3.renderer.RenderManager.renderGeometry(656)
01-13 15:23:39.752: ERROR/AndroidHarness(1034): at com.jme3.renderer.queue.RenderQueue.renderGeometryList(301)
01-13 15:23:39.752: ERROR/AndroidHarness(1034): at com.jme3.renderer.queue.RenderQueue.renderQueue(357)
01-13 15:23:39.752: ERROR/AndroidHarness(1034): at com.jme3.renderer.RenderManager.renderViewPortQueues(893)
01-13 15:23:39.752: ERROR/AndroidHarness(1034): at com.jme3.renderer.RenderManager.flushQueue(849)
01-13 15:23:39.752: ERROR/AndroidHarness(1034): at com.jme3.renderer.RenderManager.renderViewPort(1125)
01-13 15:23:39.752: ERROR/AndroidHarness(1034): at com.jme3.renderer.RenderManager.render(1167)
01-13 15:23:39.752: ERROR/AndroidHarness(1034): at com.jme3.app.SimpleApplication.update(263)
01-13 15:23:39.752: ERROR/AndroidHarness(1034): at com.jme3.system.android.OGLESContext.onDrawFrame(418)
01-13 15:23:39.752: ERROR/AndroidHarness(1034): at android.opengl.GLSurfaceView$GLThread.guardedRun(1341)
01-13 15:23:39.752: ERROR/AndroidHarness(1034): at android.opengl.GLSurfaceView$GLThread.run(1118)

I managed to install Jme3Beta1Demo.apk (After I figured out how to install to the SD card).



This works on my HTC desire. So there seems to be hope for jMonkey.



Does anybody know this kind op problem and how to solve it?

The version of jME3 you’re using is outdated

@Momoko_Fan said:
The version of jME3 you're using is outdated


I am using the jME3 SDK from the website posted October 22, 2011. Is there a new release?


Product Version: jMonkeyEngine SDK 3.0beta
Java: 1.7.0; Java HotSpot(TM) 64-Bit Server VM 21.0-b17
System: Windows 7 version 6.1 running on amd64; Cp1252; nl_NL (jmonkeyplatform)
Userdir: C:UsersuserAppDataRoaming.jmonkeyplatform3.0beta

Help->Check for Updates

@normen said:
Help->Check for Updates


Thanks I am trying this. Is there a update server problem at the moment?

I get this kind of error: "Networking problem in http://jmonkeyengine.com/updates/stable/3.0beta/plugins/jmonkeyplatform/com-jme3-gde-project-libraries.nbm" but also on different files. When I do "Try again" sometimes it works, but not enough to complete the update.

Not that I know of, its the same server this site is being run off. @Skye?

@normen said:
Not that I know of, its the same server this site is being run off. @Skye?


Oke I managed to install the updates. I tried one by one to install the updates, the updates <3MB all worked fine. Everything >3MB failed to download. So I downloaded those updates using firefox and installed them manually.

I removed my previous installation jME3 and did a clean installation. I did not install any plugins until everything was up to date. I tried to automatically download the updates from 3 different networks.

Uh… so?