[Libreoffice-commits] core.git: Branch 'feature/droid_calcimpress3' - README.Android README.cross

Jan Holesovsky kendy at collabora.com
Mon Oct 13 07:51:47 PDT 2014


 README.Android |    5 +++++
 README.cross   |   13 +++++++++++++
 2 files changed, 18 insertions(+)

New commits:
commit 9c0cb7a7d1f608e26dadbc71748439bac8b7d17e
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Mon Oct 13 16:51:08 2014 +0200

    android: Dump my debugging notes to the readme's.
    
    Change-Id: I8f91e73fe5df5dfef054df80d43be3c74d01388b

diff --git a/README.Android b/README.Android
index 2fe09e2..9ae7fd3 100644
--- a/README.Android
+++ b/README.Android
@@ -46,6 +46,11 @@ know. But don't seem to be necessary on a real device anyway?
 
 * Debugging
 
+	Install the .apk to the device, start the application, and:
+
+	cd android/experimental/LOAndroid3
+	<android-ndk-r9d>/ndk-gdb --adb=<android-sdk-linux>/platform-tools/adb
+
 	Some versions of the NDK had a broken gdb in the way that it can see
 symbols only for shlibs that were already loaded when the debuggee was
 attached, so you need to carefully guess where to put:
diff --git a/README.cross b/README.cross
index 451751d..0c6a777 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:
 


More information about the Libreoffice-commits mailing list