Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build instructions #281

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions HowToBuild
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,22 @@ 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
2. Tune the setup before compiling:
2a. by copying your 'local.properties' to those third-party code directories:
cp local.properties third-party/android-filechooser/code/
cp local.properties third-party/drag-sort-listview/library/
cp local.properties third-party/AmbilWarna/
2b. by copying the Android support v4 lib:
cp libs/android-support-v4.jar third-party/drag-sort-listview/library/libs/

3. If you use Linux or MacOS, just run 'ant dist' and go to step 3. For debugging
purposes, you might want to run 'ant debug' 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;
3a. 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'.
3b. Run 'ant release'.

3. Sign your package manually.
4. Sign your package manually.
2 changes: 1 addition & 1 deletion third-party/drag-sort-listview/library/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

android.library=true
# Project target.
target=android-5
target=android-7