Skip to content

Commit

Permalink
Switched to Gradle build system.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daimas committed Oct 15, 2015
1 parent 51741d9 commit 5154b57
Show file tree
Hide file tree
Showing 788 changed files with 2,722 additions and 98,439 deletions.
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,8 @@

This is the Android version of [Pachi][1], a Go game engine developed by Petr Baudis and Jean-Loup Gailly.

## How to compile

1. Create an android application project in the `android` folder.
2. Create an android library project for each project located in the `libprojects` folder.
3. Reference these library projects from your application project.
4. Build the android project and it should run !

If you make a change to Pachi's code, you have to rebuild the executable with the [Android NDK][2].
To do this, open the `android` folder and enter the command `ndk-build`. If you get errors, try to use the NDK version r8b. Sometimes newer versions require to make some changes to the code. Then copy the executable from `android/libs/armeabi` to the `android/res/raw` folder and replace the existing one.
To do this, open the `jni` folder and enter the command `ndk-build`. If you get errors, try to use the NDK version r10e. Sometimes newer versions require to make some changes to the code. Then copy the executable from `libs/armeabi` to the `app/src/main/res/raw` folder and replace the existing one.


## Credits
Expand Down
2 changes: 0 additions & 2 deletions android/.gitignore

This file was deleted.

29 changes: 0 additions & 29 deletions android/Pachi.iml

This file was deleted.

1 change: 0 additions & 1 deletion android/jni/Android.mk

This file was deleted.

4 changes: 0 additions & 4 deletions android/jni/Application.mk

This file was deleted.

9 changes: 0 additions & 9 deletions android/jni/pachi/.gitignore

This file was deleted.

77 changes: 0 additions & 77 deletions android/jni/pachi/Android.mk

This file was deleted.

Loading

0 comments on commit 5154b57

Please sign in to comment.