1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-06 03:50:19 +02:00
FBReaderJ/HowToBuild
unknown 1defc7c685 ant build script is changed so the running Python script is not necessary anymore
all necessary files are renamed and copied to appropriate folders using ANT only commands and targets
ANT version 1.7> is necessary, version check is added to script
2010-11-09 21:16:21 +02:00

31 lines
1,011 B
Text

How to Build for Android
------------------------
Prerequisites:
1. Android SDK >= 1.6
2. Android NDK >= r4b
3. python
To build:
1. Create 'local.properties' file containing sdk.dir && ndk.dir definitions:
sdk.dir=<path to the Android SDK folder>
ndk.dir=<path to the Android NDK folder>
E.g., on my computer 'local.properties' consists of 2 lines:
sdk.dir=/Users/geometer/android-sdk-mac_86
ndk.dir=/Users/geometer/android-ndk-r4b
2. If you use Linux or MacOS, just run 'ant package' and go to step 3. For debugging
purposes, you might want to run 'ant dbg' for building the package in debug mode, signing
with your debug key (in this case, you can skip step 3).
If you are Windows user
2a. Run ndk-build (a program from Android NDK directory) in your project catalog;
This program only runs from Cygwin >= 1.7, please read NDK docs for details.
Read and try config cygwin using 'cygwin_installation_and_configuration.pdf'
2b. Run 'ant release'.
3. Sign your package manually.