aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMartijn Kaijser <martijn@xbmc.org>2017-05-30 18:50:07 +0100
committerGitHub <noreply@github.com>2017-05-30 18:50:07 +0100
commit345b2c2e870f56a8686248be308fcf4bc0475567 (patch)
tree4d91a84b8cd79301afa8cb0a27e147b581154c41 /docs
parentb6b3026163aab67a1c52f4e04684b3240a5212bc (diff)
parenteee62dc716862daa3bd3e6557c72891ab994a996 (diff)
Merge pull request #12059 from Memphiz/osx_droid
[OSX] - fix compilation for android on OSX hosts.
Diffstat (limited to 'docs')
-rw-r--r--docs/README.android14
1 files changed, 11 insertions, 3 deletions
diff --git a/docs/README.android b/docs/README.android
index 2f0f2b8945..82f1c410cd 100644
--- a/docs/README.android
+++ b/docs/README.android
@@ -56,8 +56,8 @@ To develop Kodi for Android the Android SDK and NDK are required.
3.1. Prerequisites when compiling on Mac OSX
--------------------------------------------------------------------
-a. When building on Mac OSX you should download the java version from here: http://support.apple.com/kb/DL1572
-Or ensure otherwise that you are using java 1.6 (java -version tells you the version).
+a. When building on Mac OSX you need to download the java JDK (development kit) from http://www.oracle.com
+ Or ensure otherwise that you are using java 1.8 (java -version tells you the version).
b. The compilation for android needs a case sensitive filesystem. The
filesystem used on normal OSX installations is case insensitive. So you
need to generate a writeable hdd image and format it with hfs+ (case sensitive).
@@ -76,6 +76,7 @@ f. Once you have your hdd image with case sensitive hfs+ file system do all step
example the hdd image is mounted on /Volumes/android-dev.
$ ./configure --with-tarballs=/Users/Shared/xbmc-depends/tarballs --host=arm-linux-androideabi \
--with-sdk-path=/Volumes/android-dev/android/android-sdk-macosx \
+ --with-sdk=android-21 \
--with-ndk=/Volumes/android-dev/android/android-ndk-r12b \
--with-toolchain=/Volumes/android-dev/android/android-toolchain-arm/android-21 \
--prefix=/Volumes/android-dev/android/xbmc-depends
@@ -124,6 +125,13 @@ install some android packages using the Android SDK Manager:
$ cd <android-sdk>/tools
$ ./android update sdk -u -t platform,platform-tool
$ ./android update sdk --all -u -t build-tools-20.0.0
+
+As of newest SDKs the android tool is deprecated. Use sdkmanager instead:
+ $ cd <android-sdk>/tools/bin
+ $ ./sdkmanager platform-tools
+ $ ./sdkmanager "platforms;android-21"
+ $ ./sdkmanager "build-tools;20.0.0"
+
--------------------------------------------------------------------
3.4. Setup the Android toolchain
--------------------------------------------------------------------
@@ -251,7 +259,7 @@ The built APK will be present in $HOME/kodi-android
To install Kodi through the previously built APK in an Android system you can
either install it on a real device (smartphone/tablet/...) running Android
- >= 2.3.x.
+ >= 5.x
--------------------------------------------------------------------
6.1. Installing Kodi on the Android device