Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
c862be08
Kaydet (Commit)
c862be08
authored
Eki 13, 2014
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
android: Dump my debugging notes to the readme's.
Change-Id: I8f91e73fe5df5dfef054df80d43be3c74d01388b
üst
17e68606
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
README.Android
README.Android
+5
-0
README.cross
README.cross
+13
-0
No files found.
README.Android
Dosyayı görüntüle @
c862be08
...
@@ -46,6 +46,11 @@ know. But don't seem to be necessary on a real device anyway?
...
@@ -46,6 +46,11 @@ know. But don't seem to be necessary on a real device anyway?
* Debugging
* 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
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
symbols only for shlibs that were already loaded when the debuggee was
attached, so you need to carefully guess where to put:
attached, so you need to carefully guess where to put:
...
...
README.cross
Dosyayı görüntüle @
c862be08
...
@@ -375,6 +375,19 @@ an "adb logcat" running in another window.
...
@@ -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
To debug, do manually what "make run" would do and when the app has
started, run ndk-gdb.
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
NB: If you happen to upgrade to Android SDK Tools 23, and the build (using
'make verbose=t android') fails for you with:
'make verbose=t android') fails for you with:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment