Closed Niffy closed 11 years ago
Iirc: -Dndk=false or -Dndk=true On Sep 5, 2013 9:25 AM, "Paul Robinson" notifications@github.com wrote:
Hi all,
I'm getting the hang of ANT however I have run into some problems. Basically in order for me to compile my project ant wishes to compile all the referenced libraries. Which is fine but the stumbling block is andengine itself. Andengine seems to require the NDK and perhaps something else. Any tips on how I can set this up correctly? NDK is installed just not sure how to give it to ant.
Eclipse can compile the projects no problem, but when wishing to deploy or debug a signed app, using eclipse can be troublesome to export a jar (such as having to clean and rebuild projects and hope I don't get a dalvik error) and then install it myself. Which is quite a PITA when you're experimenting with google play services!
I've looked at skipping the rebuild of libraries, which nearly works. But Google in their infinite wisdom thought their build.xml would build the other libraries, so thought all the library projects jars will be called classes.jar where as eclipse calls them projectname.jar. So my build stumbles down at this hurdle.
So my choices are 1) able to build andengine < Would be nice 2) modify the google build.xml < PITA to narrow down which section 3) run a script or java program that will copy/rename the jars!
So how do I go about building andengine with ant while I hack together a solution?
— Reply to this email directly or view it on GitHubhttps://github.com/nicolasgramlich/AndEngine/issues/237 .
After a quick change of build.xml to call nkd_bulid.cmd it all works!
Hi all,
I'm getting the hang of ANT however I have run into some problems. Basically in order for me to compile my project ant wishes to compile all the referenced libraries. Which is fine but the stumbling block is andengine itself. Andengine seems to require the NDK and perhaps something else. Any tips on how I can set this up correctly? NDK is installed just not sure how to give it to ant.
Eclipse can compile the projects no problem, but when wishing to deploy or debug a signed app, using eclipse can be troublesome to export a jar (such as having to clean and rebuild projects and hope I don't get a dalvik error) and then install it myself. Which is quite a PITA when you're experimenting with google play services!
I've looked at skipping the rebuild of libraries, which nearly works. But Google in their infinite wisdom thought their build.xml would build the other libraries, so thought all the library projects jars will be called classes.jar where as eclipse calls them projectname.jar. So my build stumbles down at this hurdle.
So my choices are 1) able to build andengine < Would be nice 2) modify the google build.xml < PITA to narrow down which section 3) run a script or java program that will copy/rename the jars!
So how do I go about building andengine with ant while I hack together a solution?