summaryrefslogtreecommitdiff
path: root/README.cross
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-10-13 16:51:08 +0200
committerJan Holesovsky <kendy@collabora.com>2014-10-13 16:53:58 +0200
commitc862be08158f502c42752f025d5cc6384285c688 (patch)
treef076b72344c4d36c78de1942a1b22967667646fc /README.cross
parent17e68606b7c5001edf2ebede5e7d5ea0e0b9753f (diff)
android: Dump my debugging notes to the readme's.
Change-Id: I8f91e73fe5df5dfef054df80d43be3c74d01388b
Diffstat (limited to 'README.cross')
-rw-r--r--README.cross13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.cross b/README.cross
index 451751d34621..0c6a7773229c 100644
--- a/README.cross
+++ b/README.cross
@@ -375,6 +375,19 @@ 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.
+You can also do that manually; to install:
+
+ <android-sdk-linux>/platform-tools/adb install -r android/experimental/LOAndroid3/bin/LibreOfficeViewer-debug.apk
+
+To see the log:
+
+ <android-sdk-linux>/platform-tools/adb logcat
+
+To debug, install the .apk, run it, and then:
+
+ cd android/experimental/LOAndroid3
+ <android-ndk-r9d>/ndk-gdb --adb=<android-sdk-linux>/platform-tools/adb
+
NB: If you happen to upgrade to Android SDK Tools 23, and the build (using
'make verbose=t android') fails for you with: