Developers are suggested to use the KOReader emulator on linux and mac. The only reason to develop against an android emulator is to fix or enhance the platform support.
While the minimum API supported is 14 (Ice Cream Sandwitch) there's no way to test changes on anything below API17 using emulators. So please check your changes in a real device instead.
# Pre-development:
Obtaining source code, required build tools etc are described in [readme](https://github.com/koreader/koreader/blob/master/README.md) :
**Note:** Some emulators are broken for different reasons. Please check known working emulator at the end of this document.
# Install generated apk on device:
`./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:
@ -98,16 +112,20 @@ adb exec-out run-as org.koreader.launcher ls /data/user/0/org.koreader.launcher/
We try to maintain compatibility with API level 14.
Android version | API level
--- | ---
Android 9.0 | 28
Android 8.0 | 26
Android 6.0 | 23
Android 5.0 | 21
Android 4.1 | 16
Android 4.0.3, 4.0.4| 15
Android 4.0, 4.0.1, 4.0.2 | 14
Android 2.3 | 9
Android version | API level | Working x86 emulator