mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-01 11:17:36 +02:00
Update build.md
This commit is contained in:
parent
a7fbf0f2bd
commit
3f4dbc6d4b
1 changed files with 4 additions and 4 deletions
|
@ -141,12 +141,12 @@ Cross compilation for Android is done with the [Android NDK](http://developer.an
|
||||||
|
|
||||||
###Android NDK setup
|
###Android NDK setup
|
||||||
http://developer.android.com/ndk/guides/standalone_toolchain.html
|
http://developer.android.com/ndk/guides/standalone_toolchain.html
|
||||||
1. Download NDK: `https://dl.google.com/android/repository/android-ndk-r13-linux-x86_64.zip`
|
1. Download NDK: `https://dl.google.com/android/repository/android-ndk-r13b-linux-x86_64.zip`
|
||||||
2. Extract to: `/SOME/LOCAL/PATH/android-ndk-r13`
|
2. Extract to: `/SOME/LOCAL/PATH/android-ndk-r13b`
|
||||||
3. Setup toolchain somewhere in your home dir (`<android-ndk dir>`):
|
3. Setup toolchain somewhere in your home dir (`<android-ndk dir>`):
|
||||||
|
|
||||||
````
|
````
|
||||||
$ cd /SOME/LOCAL/PATH/android-ndk-r13/build/tools
|
$ cd /SOME/LOCAL/PATH/android-ndk-r13b/build/tools
|
||||||
$ ./make_standalone_toolchain.py --arch arm --api 14 --install-dir <android-ndk dir>
|
$ ./make_standalone_toolchain.py --arch arm --api 14 --install-dir <android-ndk dir>
|
||||||
````
|
````
|
||||||
|
|
||||||
|
@ -162,7 +162,7 @@ Compile the Snapclient:
|
||||||
$ cd <snapcast dir>/client
|
$ cd <snapcast dir>/client
|
||||||
$ ./build_android.sh
|
$ ./build_android.sh
|
||||||
|
|
||||||
The binaries for `armeabi` and `armeabi-v7a` will be copied into the Android's assets directory (`<snapcast dir>/android/Snapcast/src/main/assets/bin/`) and will be part of the Snapcast App.
|
The binaries for `armeabi` and `armeabi-v7a` will be copied into the Android's assets directory (`<snapcast dir>/android/Snapcast/src/main/assets/bin/`) and so will bundled with the Snapcast App.
|
||||||
|
|
||||||
|
|
||||||
##OpenWrt (Cross compile)
|
##OpenWrt (Cross compile)
|
||||||
|
|
Loading…
Add table
Reference in a new issue