Hi,
First: thanks for the fantastic work on JME3.
I’m trying to run the HelloAssets tutorial example from Eclipse. I have cut it down so that it only attempts to load the teapot model, which I converted to .j3o binary format in the SDK. (The SDK version works without hassles; I’m trying to grasp how to load models without the help of the SDK scripts.)
The model, “teapot.j3o”, is in a “models” folder which is in the android “assets” folder.
I have the following jars on the build path, all from the latest nightly:
jME3-android.jar
jME3-core.jar
jME3-desktop.jar (not sure if this is needed)
jME3-plugins.jar
I get the following output from logcat:
02-01 13:39:04.337: E/AndroidHarness(24377): com.jme3.asset.AssetLoadException: Error occured while loading asset “models/teapot.j3o” usingBinaryImporter
02-01 13:39:04.337: E/AndroidHarness(24377): SEVERE AndroidHarness 1:39:04 PM Exception thrown in Thread[GLThread 17,5,main]: at com.jme3.asset.DesktopAssetManager.loadAsset(280)
02-01 13:39:04.337: E/AndroidHarness(24377): at com.jme3.asset.DesktopAssetManager.loadModel(408)
02-01 13:39:04.337: E/AndroidHarness(24377): at com.jme3.asset.DesktopAssetManager.loadModel(418)
02-01 13:39:04.337: E/AndroidHarness(24377): at com.zztest.Main2.simpleInitApp(24)
02-01 13:39:04.337: E/AndroidHarness(24377): at com.jme3.app.SimpleApplication.initialize(231)
02-01 13:39:04.337: E/AndroidHarness(24377): at com.jme3.system.android.OGLESContext.initInThread(261)
02-01 13:39:04.337: E/AndroidHarness(24377): at com.jme3.system.android.OGLESContext.onSurfaceCreated(212)
02-01 13:39:04.337: E/AndroidHarness(24377): at android.opengl.GLSurfaceView$GLThread.guardedRun(1348)
02-01 13:39:04.337: E/AndroidHarness(24377): at android.opengl.GLSurfaceView$GLThread.run(1118)
Any help would be much appreciated…