From 821675dcea45e3dedff05e50a37db3ed285d426b Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Sun, 22 Oct 2017 13:19:21 +0200 Subject: [PATCH] about installing apk --- Development-and-Debugging-on-Android.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Development-and-Debugging-on-Android.md b/Development-and-Debugging-on-Android.md index 5a40506..7d5c391 100644 --- a/Development-and-Debugging-on-Android.md +++ b/Development-and-Debugging-on-Android.md @@ -32,7 +32,11 @@ LD_PRELOAD='/usr/$LIB/libstdc++.so.6' emulator -avd Nexus_5X_API_23 # Install generated apk on device: -`adb install koreader-android-arm-linux-androideabi-{verison_id}.apk` +`./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 +``` Note: You need to have adb in system path (In ubuntu `sudo apt install android-tools-adb`.) Emulator has to be the same architecture (ARM Koreader on ARM AVD) otherwise you will get error here complaining about inconsistent architecture.