Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslo committed Dec 23, 2016
1 parent 303a90d commit 15170b3
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions 01-load-libraries/README.md
@@ -1,13 +1,12 @@
Adapted example from: http://stackoverflow.com/a/22859152/2288008

### Notes
* Toolchain from [taka-no-me](https://github.com/taka-no-me/android-cmake) wrapped by [Polly toolchains](https://github.com/ruslo/polly/blob/master/os/android.cmake)
* Apk CMake module downloaded by Hunter, see [pkg.android.apk](https://github.com/ruslo/hunter/wiki/pkg.android.apk)

### Usage

```bash
> build.py --toolchain android-ndk-r10e-api-21-x86 --verbose --clear --config Release
> build.py --toolchain android-ndk-r10e-api-21-x86 --verbose --clear --config Release --target launch-simple
```

Take a look at [logs](https://github.com/forexample/android-cmake#logging):
Expand All @@ -18,8 +17,6 @@ I/SimpleApp( 2348): Hello from Android! (Not debug)
Same for `Debug`:

```bash
> build.py --toolchain android-ndk-r10e-api-21-x86 --verbose --clear --config Debug
> /.../Install/android-sdk/platform-tools/adb shell logcat
...
> build.py --toolchain android-ndk-r10e-api-21-x86 --verbose --clear --config Debug --target launch-example
> /.../Install/android-sdk/platform-tools/adb logcat -d 'SimpleApp:*' '*:S'
I/SimpleApp( 2525): Hello from Android! (Debug)
```

0 comments on commit 15170b3

Please sign in to comment.