From e43f7800b7fc6d6f1077f0af5dc08d1e0454c723 Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Mon, 5 Mar 2018 10:25:35 +0100 Subject: [PATCH] about /data --- Development-and-Debugging-on-Android.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Development-and-Debugging-on-Android.md b/Development-and-Debugging-on-Android.md index ae4c707..8be3204 100644 --- a/Development-and-Debugging-on-Android.md +++ b/Development-and-Debugging-on-Android.md @@ -40,7 +40,7 @@ LD_PRELOAD='/usr/$LIB/libstdc++.so.6' emulator -avd Nexus_5X_API_23 `./kodev run android` will automatically take care of it for you, but besides installing the APK through the usual means (e.g., dragging it onto the emulator, copying it over to the device and manually installing it) you can also run ADB yourself: ``` -adb install koreader-android-arm-linux-androideabi-{verison_id}.apk +adb install koreader-android-arm-linux-androideabi-{version_id}.apk ``` Note: You need to have adb in system path (In ubuntu `sudo apt install android-tools-adb`.) @@ -55,6 +55,11 @@ or to see all android logs: TODO : can anyone help here? +Without a rooted device you can't browse around in /data but you can execute commands like this: +``` +adb exec-out run-as org.koreader.launcher ls /data/user/0/org.koreader.launcher/files/ +``` + # Android Background ## API levels