hi all
I checkout jme3 trunk and
i try to build android jme3 jar running pre-jar and dist-android but i have no dist/jMonkeyEngine3-Android.jar created.
Anyone knows why?
ciao
gio
ups i ve done it including src/android in my src folder
Just run the android build target of the normal trunk/engine folder…
Is there any souce code for jme3-android test? I don’t know how to code in andriod project?
checkout the jme3 source with svn
http://jmonkeyengine.googlecode.com/svn/trunk/engine
Then the example source is in
src/android/jme3test/android/TestsActivity.java
Ok, thanks, I have downloaded it.
Hi, I just checked out the latest version of the JM3 engine from http://jmonkeyengine.googlecode.com/svn/trunk/engine.
There seams to be no build-android.xml file, however, and building from the build.xml did not create these files:
-android-dist.jar
-android-renderer.jar
-android.tests.jar
Am I doing something wrong or did someone exclude the build file from the repository?
Thx in advance
larynx said:
checkout the jme3 source with svn
Then the example source is in
I can't build the android jar, there always are some error, so someone can give some jar package
(I build in mac os snow lepard, the command is: ant -f build-android.xml)
The android jMonkeyEngine jar is built by default and put in the opt/android folder. The tests are not compiled.
Thx for your quick answer. it worked fine.
Now I have the following problem when I build and deploy an Android JME app:
05-06 09:27:51.421: ERROR/Application(7889): Uncaught exception thrown in Thread[GLThread 8,5,main]
05-06 09:27:51.421: ERROR/Application(7889): java.lang.NullPointerException
05-06 09:27:51.421: ERROR/Application(7889): at com.jme3.font.BitmapText.(BitmapText.java:64)
05-06 09:27:51.421: ERROR/Application(7889): at com.jme3.font.BitmapText.(BitmapText.java:60)
05-06 09:27:51.421: ERROR/Application(7889): at com.jme3.app.SimpleApplication.loadFPSText(SimpleApplication.java:178)
05-06 09:27:51.421: ERROR/Application(7889): at com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:202)
05-06 09:27:51.421: ERROR/Application(7889): at foo.com.NewTestApp.initialize(NewTestApp.java:25)
05-06 09:27:51.421: ERROR/Application(7889): at com.jme3.system.android.OGLESContext.initInThread(OGLESContext.java:129)
05-06 09:27:51.421: ERROR/Application(7889): at com.jme3.system.android.OGLESContext.onSurfaceCreated(OGLESContext.java:214)
05-06 09:27:51.421: ERROR/Application(7889): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1317)
05-06 09:27:51.421: ERROR/Application(7889): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1116)
This always happens once the SimpleApplication.initialize method is called, even when there is no custom code in the SimpleApplication Subclass.
To start the SimpleApplication, I use the code provided by the AndroidActivity (android.com.jme3test.android.AndroidActivity).
I am using a Samsung Galaxy S with Android 2.2 (so I assume OpenGLES 2.0).
Is this a known issue?
The file Interface/Fonts/Default.fnt is available and can be found in assets/core-data/…
So i guess the file is available if the AssetManager browses this directory.
Interface/Fonts/Default.fnt should be directly in assets, not assets/core-data
Android 2.2 is fine
Hi larynx.
Thank you for pointing that out. Seams that none of the references (even those in the j3md files) include this core-data folder.
The problems got solved By just moving the Common folder to assets :).
Hi,
I try to build a engine project for android, but many compilation errors was returned.
I need a jme android jar, what i have to do to compile?
ailtonguitar said:
I need a jme android jar, what i have to do to compile?
Nothing, just download the latest nightly.
Hi normen,
Thank you very much.