From cfd74ae2b9e77f6e0c515d91912fec6b5a632f9f Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Fri, 27 Jun 2014 15:44:25 +0200 Subject: [PATCH] android: Support for Android SDK Tools 23 + note about their brokeness. Change-Id: I6b1636703044f03c5daa4c3ac1630f23c5c3c2e5 --- README.cross | 11 +++++ android/Bootstrap/no-resource-compress-23.xml | 45 +++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 android/Bootstrap/no-resource-compress-23.xml diff --git a/README.cross b/README.cross index 1a773da88078..23fdc7ca5609 100644 --- a/README.cross +++ b/README.cross @@ -377,6 +377,17 @@ an "adb logcat" running in another window. To debug, do manually what "make run" would do and when the app has started, run ndk-gdb. +NB: If you happen to upgrade to Android SDK Tools 23, and the build (using +'make verbose=t android') fails for you with: + + [dx] UNEXPECTED TOP-LEVEL EXCEPTION: + [dx] java.io.FileNotFoundException: /local/libreoffice/android-sdk-linux/tools/support/annotations.jar (Adresář nebo soubor neexistuje) + +you need to copy the annotations.jar from an older sdk; like + +wget 'http://dl-ssl.google.com/android/repository/tools_r22.6.2-linux.zip' +unzip tools_r22.6.2-linux.zip +cp tools/support/annotations.jar /tools/support/ Raspbian ******** diff --git a/android/Bootstrap/no-resource-compress-23.xml b/android/Bootstrap/no-resource-compress-23.xml new file mode 100644 index 000000000000..2b297826f0c8 --- /dev/null +++ b/android/Bootstrap/no-resource-compress-23.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + -- 2.18.1