Today i’m try JMonkeyEngine in development of my game.
I download latest version on JME3 on this link : http://jmonkeyengine.com/nightly/ (jME3_2012-08-02.zip)
I run Eclipse and Create new Android Project.
I add jMonkeyEngine3.jar in my build path in Eclipse.
As expected many *.jar files added automatically in my project to “Referenced Libraries”.
I try to extend My Basic class spells like MainActivity from AndroidHarness but Eclipse told me about AndroidHardness is not found and proposed create class AndroidHarness(that’s funny).
And my question : How a create a simple Android application? I try to search from Google, but i not found any solution on my problem.
P.S. Sorry for my English(
Why don’t you just do it like explained in the manual?
Note that for the android version you need to leave out all desktop related jars from the libs and add the android jars from the opt folder as well, the description of the jar files is linked in the doc above but as the link is smaller than the Documentation link on top of the site that you didn’t notice either I’ll link it again here:
The easiest way to edit jME3 projects that can be compiled for android and desktop and all future supported platforms is the SDK:
use the jME SDK or “jMEDK” as I shall call it from now onwards. It rocks, and does this stuff automatically for you, as well as having loads more features! the interface is not so different either, as with most IDE’s
Thank You DUDE!
unfortunately, i tried to follow your guide… AndroidHarness is work, and thx about this… but I have another problem… I’m not sure whether I understand the logic of the engine … I Create Android Class and extends him from AndroidHarness but Application doesn’t running on emulator or device… but application is deployed…
However , i have a class MainActivity extended from AndroidHarness and I try to run him, but he don’t run! Where is the mistake?
Use the SDK and follow the guide, no need to create any Android classes.
nobody replied to me on my last post
IT IS NOT POSSIBLE TO COMPILE AND DEPLOY JME3 TO ENDROID !!
sorry to repeat myself, but there is a build.xml wich is not generated
so if anyone has a solution
that would be a great idea
i just bought an androi phone, so that would be a great occasion to build my game on it and give it a try
it supports opengl(es) 2
so plz help uuu
i created a new project and it compiles ,so nevermind
YES IT IS, JUST FIX THE ERROR GOOGLE PUT IN THEIR BUILD FILE
I don’t want use JME3 SDK to create Android Application’s , I Want try building them in Eclipse…
Any example on creating Android apps in Eclipse?
Just create it once with the SDK as you don’t seem to be getting too far with Eclipse without a step by step tutorial. You can open the created project in eclipse too.