2010-01-02 20:10:08 +01:00
|
|
|
Here's how I'm building crosswords for Android.
|
|
|
|
|
|
|
|
First, my working directory is XWords within this (android/)
|
2010-06-07 15:11:11 +02:00
|
|
|
directory. And note that local.properties, also there, needs to be
|
|
|
|
edited so that sdk.dir points to where your sdk is installed.
|
2010-01-02 20:10:08 +01:00
|
|
|
|
|
|
|
Build the jni library (the cross-platform code):
|
|
|
|
# ../scripts/ndkbuild.sh
|
|
|
|
|
2010-06-07 15:11:11 +02:00
|
|
|
Then build the app for the emulator
|
2010-01-02 20:10:08 +01:00
|
|
|
# ant install
|
|
|
|
|
|
|
|
Build for a device (requires you've set up your keys. I did this too
|
|
|
|
long ago to remember how but the info's easy to find):
|
|
|
|
# ant release
|