aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJose Luis Marti <joseluis.marti@gmail.com>2024-04-05 17:22:46 +0200
committerJose Luis Marti <joseluis.marti@gmail.com>2024-04-05 17:22:46 +0200
commit25d09211c278efdb9b2328af64969e37b532d6ea (patch)
treea4a7a4db7b5ba63eb7c42d55406bfc347e75a151 /docs
parent267da4999d1bc1761e563ee25c654e73dc7185dc (diff)
Update build guide
Diffstat (limited to 'docs')
-rw-r--r--docs/README.Android.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/README.Android.md b/docs/README.Android.md
index bd71a5d7e1..72fcf75e7f 100644
--- a/docs/README.Android.md
+++ b/docs/README.Android.md
@@ -73,8 +73,8 @@ sudo apt install autoconf bison build-essential curl default-jdk flex gawk git g
**[back to top](#table-of-contents)**
## 3. Prerequisites
-Building Kodi for Android requires Android NDK revision 20b. For the SDK just use the latest available.
-Kodi CI/CD platforms currently use r21e for build testing and releases, so we recommend using r21e for the most tested build experience
+Building Kodi for Android requires Android NDK revision 26c. For the SDK just use the latest available.
+Kodi CI/CD platforms currently use r26c for build testing and releases, so we recommend using r26c for the most tested build experience
* **[Android SDK](https://developer.android.com/studio/index.html)** (Look for `Get just the command line tools`)
@@ -100,7 +100,7 @@ cd $HOME/android-tools/android-sdk-linux/cmdline-tools/bin
./sdkmanager --sdk_root=$(pwd)/../.. platform-tools
./sdkmanager --sdk_root=$(pwd)/../.. "platforms;android-34"
./sdkmanager --sdk_root=$(pwd)/../.. "build-tools;33.0.1"
-./sdkmanager --sdk_root=$(pwd)/../.. "ndk;21.4.7075529"
+./sdkmanager --sdk_root=$(pwd)/../.. "ndk;26.2.11394342"
```
### 3.3. Create a key to sign debug APKs
@@ -135,22 +135,22 @@ cd $HOME/kodi/tools/depends
Configure build for aarch64:
```
-./configure --with-tarballs=$HOME/android-tools/xbmc-tarballs --host=aarch64-linux-android --with-sdk-path=$HOME/android-tools/android-sdk-linux --with-ndk-path=$HOME/android-tools/android-sdk-linux/ndk/21.4.7075529 --prefix=$HOME/android-tools/xbmc-depends
+./configure --with-tarballs=$HOME/android-tools/xbmc-tarballs --host=aarch64-linux-android --with-sdk-path=$HOME/android-tools/android-sdk-linux --with-ndk-path=$HOME/android-tools/android-sdk-linux/ndk/26.2.11394342 --prefix=$HOME/android-tools/xbmc-depends
```
Or configure build for arm:
```
-./configure --with-tarballs=$HOME/android-tools/xbmc-tarballs --host=arm-linux-androideabi --with-sdk-path=$HOME/android-tools/android-sdk-linux --with-ndk-path=$HOME/android-tools/android-sdk-linux/ndk/21.4.7075529 --prefix=$HOME/android-tools/xbmc-depends
+./configure --with-tarballs=$HOME/android-tools/xbmc-tarballs --host=arm-linux-androideabi --with-sdk-path=$HOME/android-tools/android-sdk-linux --with-ndk-path=$HOME/android-tools/android-sdk-linux/ndk/26.2.11394342 --prefix=$HOME/android-tools/xbmc-depends
```
Or configure build for x86:
```
-./configure --with-tarballs=$HOME/android-tools/xbmc-tarballs --host=i686-linux-android --with-sdk-path=$HOME/android-tools/android-sdk-linux --with-ndk-path=$HOME/android-tools/android-sdk-linux/ndk/21.4.7075529 --prefix=$HOME/android-tools/xbmc-depends
+./configure --with-tarballs=$HOME/android-tools/xbmc-tarballs --host=i686-linux-android --with-sdk-path=$HOME/android-tools/android-sdk-linux --with-ndk-path=$HOME/android-tools/android-sdk-linux/ndk/26.2.11394342 --prefix=$HOME/android-tools/xbmc-depends
```
Or configure build for x86_64:
```
-./configure --with-tarballs=$HOME/android-tools/xbmc-tarballs --host=x86_64-linux-android --with-sdk-path=$HOME/android-tools/android-sdk-linux --with-ndk-path=$HOME/android-tools/android-sdk-linux/ndk/21.4.7075529 --prefix=$HOME/android-tools/xbmc-depends
+./configure --with-tarballs=$HOME/android-tools/xbmc-tarballs --host=x86_64-linux-android --with-sdk-path=$HOME/android-tools/android-sdk-linux --with-ndk-path=$HOME/android-tools/android-sdk-linux/ndk/26.2.11394342 --prefix=$HOME/android-tools/xbmc-depends
```
> [!NOTE]