Wow, this post just kept growing and growing as I trying to get this running.
From the top: -
- Installed jMonkeyPlatform Alpha-4
- File / Open Project:
JmeTests
- 71 compiling errors
a. did a Clean & Build (same errors)
b. ran an update (2 downloads), reset, C&B same errors
c. ran another update (14 downloads - 30 minutes later), reset x2, C&B same errors
d. did another update (2 downloads), reset, same errors
The error log is here http://www.egonomics.com/android/jme_fixme.txt as I didn’t want to flood this post with it.
Subsequently my screen looks like this http://www.egonomics.com/android/jme_fixme.png
As the screenie suggests, I cannot run any tests, not even a HelloWorld.
Other things I’ve attempted: -
Loading the source in Eclipse Helios SR2 - gets me completely different errors (although errors nevertheless).
Example: TerrainGridTest.java attempts to load missing classes: -
import org.novyon.noise.ShaderUtils;
import org.novyon.noise.basis.FilteredBasis;
import org.novyon.noise.filter.IterativeFilter;
import org.novyon.noise.filter.OptimizedErode;
import org.novyon.noise.filter.PerturbFilter;
import org.novyon.noise.filter.SmoothFilter;
import org.novyon.noise.fractal.FractalSum;
import org.novyon.noise.modulator.NoiseModulator;
I cannot find these anywhere, but admittedly I didn’t look too hard as what I would find may well be the wrong version, and I feel they should be with or referred to from the jME source and thus not my job to find them (also I got the feeling from my looking that they are proprietary code: -
see http://www.google.com.au/search?q=“novyon”+source+code).
So, it was after this I decided to download and use the jMP thus leading to all the info above. This is not a casual post, I have now spent a couple of weeks on this. I have even repeated the above process twice as I completely uninstalled jMP and started again (thinking perhaps I had accidently downloaded the overnight build that understandably could be buggy).
Despite not being able to compile the tests I assumed I could continue with the library. So, I followed the steps here http://hub.jmonkeyengine.org/groups/android/forum/topic/how-to-run-your-jme3-application-on-android-androidharness/ to make a simple android app.
Problem: “Add jme3/dist/opt/android/jMonkeyEngine3.jar to your library path”
I could not find where in my new android project where I can add/edit the library path, and I did look. In the end I made a Lib folder and manually copied in jMonkeyEngine3.jar from the “C:/Program Files/jmonkeyplatform/jmonkeyplatform/libs/” folder - but it didn’t include the “com.jme3.app.AndroidHarness” class (neither did the “C:/Program Files/jmonkeyplatform/jmonkeyplatform/modules/ext/” one). Along with this I do not have a /dist/ folder anywhere. (I attempted the Ant build in Eclipse and got the error “Specified buildfile does not contain a javac task”.)
To sum up, can people help me with: -
- Compiling the jME test code (Eclipse and jMP)
- Making the .jar libraries
- Add/Edit library paths in jMP android projects
- Thus, a working hello world android app
And any other questions inferred here!
Extra bonus naive question: -
Will the jMP “Help / Check for Updates” download the latest stable jMonkeyEngine when it’s released?
(I’m very sorry if these issues have already been resolved elsewhere on the forums, I couldn’t find it.)
jMP error screenie: http://www.egonomics.com/android/jme_fixme.png
jMP error log: http://www.egonomics.com/android/jme_fixme.txt
Eclipse error screenie: http://www.egonomics.com/android/eclipse_fixme.png