|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| .github/ | H | 24-Aug-2021 | - | 44 | 29 |
| .gitlab/merge_request_templates/ | H | 24-Aug-2021 | - | 19 | 13 |
| 3rdparty/ | H | 03-May-2022 | - | 18,767 | 17,530 |
| benchmarks/ | H | 03-May-2022 | - | 5,753 | 3,742 |
| build-tools/ | H | 24-Aug-2021 | - | 832 | 747 |
| cmake/ | H | 24-Aug-2021 | - | 3,147 | 2,602 |
| dev-tools/python/krita-mock/ | H | 24-Aug-2021 | - | 41 | 26 |
| interfaces/ | H | 24-Aug-2021 | - | 449 | 221 |
| krita/ | H | 03-May-2022 | - | 27,674 | 24,692 |
| libs/ | H | 03-May-2022 | - | 662,490 | 429,719 |
| packaging/ | H | 24-Aug-2021 | - | 10,664 | 8,391 |
| pics/ | H | 03-May-2022 | - | 442 | 416 |
| plugins/ | H | 03-May-2022 | - | 410,583 | 292,062 |
| po/ | H | 24-Aug-2021 | - | 5,092,505 | 4,242,752 |
| sdk/ | H | 24-Aug-2021 | - | 3,287 | 2,286 |
| winquirks/ | H | 24-Aug-2021 | - | 287 | 213 |
| .arcconfig | H A D | 24-Aug-2021 | 87 | 4 | 4 |
| .gitattributes | H A D | 24-Aug-2021 | 275 | 11 | 8 |
| .gitignore | H A D | 24-Aug-2021 | 356 | 36 | 35 |
| .lgtm.yml | H A D | 24-Aug-2021 | 2 KiB | 69 | 68 |
| .mailmap | H A D | 24-Aug-2021 | 81 | 3 | 2 |
| AUTHORS | H A D | 24-Aug-2021 | 84 | 5 | 2 |
| CODE_OF_CONDUCT.md | H A D | 24-Aug-2021 | 315 | 10 | 6 |
| COPYING | H A D | 24-Aug-2021 | 34.3 KiB | 675 | 553 |
| COPYING-CMAKE-SCRIPTS | H A D | 24-Aug-2021 | 1.5 KiB | 27 | 24 |
| CTestConfig.cmake | H A D | 24-Aug-2021 | 567 | 15 | 13 |
| HACKING | H A D | 24-Aug-2021 | 5.9 KiB | 166 | 107 |
| KoAlwaysInline.h | H A D | 24-Aug-2021 | 1.1 KiB | 33 | 12 |
| KoConfig.h.cmake | H A D | 24-Aug-2021 | 1.5 KiB | 63 | 49 |
| Mainpage.dox | H A D | 24-Aug-2021 | 1.8 KiB | 53 | 43 |
| Messages.sh | H A D | 24-Aug-2021 | 1.4 KiB | 35 | 19 |
| README.android.md | H A D | 24-Aug-2021 | 1.9 KiB | 59 | 39 |
| README.md | H A D | 24-Aug-2021 | 3.2 KiB | 75 | 42 |
| action_i18n.pl | H A D | 24-Aug-2021 | 15.4 KiB | 476 | 366 |
| config-gsl.h.cmake | H A D | 24-Aug-2021 | 142 | 5 | 3 |
| config-hash-table-implementation.h.cmake | H A D | 24-Aug-2021 | 149 | 4 | 2 |
| config-hdr.h.cmake | H A D | 24-Aug-2021 | 157 | 5 | 3 |
| config-high-dpi-scale-factor-rounding-policy.h.in | H A D | 24-Aug-2021 | 236 | 5 | 3 |
| config-limit-long-tests.h.cmake | H A D | 24-Aug-2021 | 190 | 5 | 3 |
| config-ocio.h.cmake | H A D | 24-Aug-2021 | 150 | 8 | 3 |
| config-powf.h.cmake | H A D | 24-Aug-2021 | 123 | 6 | 3 |
| config-qtmultimedia.h.cmake | H A D | 24-Aug-2021 | 158 | 5 | 3 |
| config-safe-asserts.h.cmake | H A D | 24-Aug-2021 | 156 | 8 | 3 |
| config-seexpr.h.cmake | H A D | 24-Aug-2021 | 131 | 5 | 3 |
| config-set-has-border-in-full-screen-default.h.in | H A D | 24-Aug-2021 | 240 | 5 | 3 |
| config-vc.h.cmake | H A D | 24-Aug-2021 | 141 | 5 | 3 |
| config_convolution.h.cmake | H A D | 24-Aug-2021 | 79 | 5 | 2 |
| config_use_qt_tablet_windows.h.cmake | H A D | 24-Aug-2021 | 73 | 3 | 2 |
| extracti18n.pl | H A D | 24-Aug-2021 | 2.5 KiB | 98 | 72 |
| kundo2_aware_xgettext.sh | H A D | 24-Aug-2021 | 4.6 KiB | 114 | 70 |
| setup.cfg | H A D | 24-Aug-2021 | 144 | 6 | 4 |
README.android.md
1# Building Krita for Android
2
3First of all, I use linux to do my builds and testing. Although,
4they _should_ work on Windows/macOS, I cannot give any guarantee
5that it will.
6
7## Setting up Android SDK and NDK
8
9We right now use Android NDK version `r18b` to do our builds. So,
10I would recommend to use that. Download it from [google's website](https://developer.android.com/ndk/downloads/older_releases.html)
11then extract it.
12
13Next, Android SDK. You can either download Android Studio or just
14the `sdk-tools`. Both could be downloaded from [google's website](https://developer.android.com/studio).
15
16If you downloaded Android Studio then open SDK manager and download
17`Android SDK Build-Tools`.
18(more info: https://developer.android.com/studio/intro/update#sdk-manager)
19
20If you download just `sdk-tools`, then, extract it and run:
21
22```shell
23cd <extracted-android-sdk-tools>/tools/bin
24./sdkmanager --licenses
25./sdkmanager platform-tools
26./sdkmanager "platforms;android-21"
27./sdkmanager "platforms;android-28" # for androiddeployqt
28./sdkmanager "build-tools;28.0.2"
29```
30
31If you get some `ClasNotFoundException` it might be because `java`
32version is set to `11`. For `sdkmanager` to work, set it to `8` and
33then run it again.
34
35That's the only dependency we have to manage manually!
36
37## Building Krita
38
39Now, to build krita, run `<krita-source>/packaging/android/androidbuild.sh --help`
40and pass the required arguments.
41
42Example:
43
44```shell
45./androidbuild.sh -p=all --src=/home/sh_zam/workspace/krita --build-type=Debug --build-root=/home/sh_zam/workspace/build-krita-android --ndk-path=/home/sh_zam/Android/Sdk/ndk-bundle --sdk-path=/home/sh_zam/Android/Sdk --api-level=21 --android-abi=armeabi-v7a
46```
47
48That's all!
49
50## Installing Krita APK
51
52To install run `adb install -d -r <build-root>/krita_build_apk/build/outputs/apk/debug/krita_build_apk-debug.apk`.
53
54`adb` should be in `<sdk-root>/platform-tools/`
55
56## Crash
57
58If Krita crashes you can look up the logs using `adb logcat`
59