2010-01-02 20:10:08 +01:00
|
|
|
Here's how I'm building crosswords for Android.
|
|
|
|
|
2015-03-03 16:12:44 +01:00
|
|
|
First, cd into the directory xwords4/android/XWords4. Everything
|
|
|
|
happens there.
|
2011-11-20 05:05:04 +01:00
|
|
|
|
2015-03-03 16:12:44 +01:00
|
|
|
IF (and it's a big if) you have all the necessary tools installed (the
|
|
|
|
Android SDK and NDK, apache ant, and probably other stuff I've
|
|
|
|
forgotten), two commands will build it, the first a one-time deal and
|
|
|
|
the second repeated every time you made a change.
|
2010-01-02 20:10:08 +01:00
|
|
|
|
2015-03-03 16:12:44 +01:00
|
|
|
The build process requires a file called local.properties that must be
|
|
|
|
generated locally. Generate it before your first build by running
|
|
|
|
|
|
|
|
# ../scripts/setup_local_props.sh
|
|
|
|
|
|
|
|
Then build using this command:
|
|
|
|
|
|
|
|
# ant debug
|
|
|
|
|
|
|
|
Or, if you have a device or emulator attached (listed by 'adb
|
|
|
|
devices'), try
|
2010-01-02 20:10:08 +01:00
|
|
|
|
2011-11-20 05:05:04 +01:00
|
|
|
# ant debug install
|
2010-01-02 20:10:08 +01:00
|
|
|
|
2015-03-03 16:12:44 +01:00
|
|
|
Making a release build requires that you've set up your keys. (I did
|
|
|
|
this too long ago to remember how but the info's easy to find). Once
|
|
|
|
that's done, just tether your device and type
|
|
|
|
|
|
|
|
# ant release install
|