mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1d2b379e5a | |||
| d2c3ed8be3 |
+11
@@ -243,3 +243,14 @@ $ANDROID_NDK_ROOT/ndk-stack --sym obj/local/armeabi-v7a --dump crash.txt > decod
|
|||||||
`obj/local/armeabi-v7a` is the extracted path from `deltachat-gplay-release-X.X.X.apk-symbols.zip` file from https://download.delta.chat/android/symbols/
|
`obj/local/armeabi-v7a` is the extracted path from `deltachat-gplay-release-X.X.X.apk-symbols.zip` file from https://download.delta.chat/android/symbols/
|
||||||
|
|
||||||
Replace `armeabi-v7a` by the correct architecture the logs come from (can be guessed by trial and error)
|
Replace `armeabi-v7a` by the correct architecture the logs come from (can be guessed by trial and error)
|
||||||
|
|
||||||
|
### Deobfuscating Java/Kotlin Stack Traces
|
||||||
|
|
||||||
|
Because the app uses code minification (ProGuard/R8), Java stack traces in crash reports are obfuscated.
|
||||||
|
To decode them, use `retrace` with the `mapping.txt` file that is included in the symbols zip:
|
||||||
|
|
||||||
|
```
|
||||||
|
retrace mapping.txt crash.txt > decoded-crash.txt
|
||||||
|
```
|
||||||
|
|
||||||
|
`mapping.txt` is extracted from the same `deltachat-gplay-release-X.X.X.apk-symbols.zip` file available at https://download.delta.chat/android/symbols/
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ cd ../..
|
|||||||
SYMBOLS_ZIP="$APK-symbols.zip"
|
SYMBOLS_ZIP="$APK-symbols.zip"
|
||||||
rm $SYMBOLS_ZIP
|
rm $SYMBOLS_ZIP
|
||||||
zip -r $SYMBOLS_ZIP obj
|
zip -r $SYMBOLS_ZIP obj
|
||||||
|
zip $SYMBOLS_ZIP build/outputs/mapping/gplayRelease/mapping.txt
|
||||||
ls -l $SYMBOLS_ZIP
|
ls -l $SYMBOLS_ZIP
|
||||||
rsync --progress $SYMBOLS_ZIP jekyll@download.delta.chat:/var/www/html/download/android/symbols/
|
rsync --progress $SYMBOLS_ZIP jekyll@download.delta.chat:/var/www/html/download/android/symbols/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user