Craft/Android: Difference between revisions
< Craft
(Created page with "== Preparations == Get the KDE Android Docker SDK: docker pull kdeorg/android-sdk == Setup Craft == For the initial setup, run the...") |
m (→Setup Craft) |
||
Line 9: | Line 9: | ||
For the initial setup, run the following command: | For the initial setup, run the following command: | ||
docker run -ti --rm -v <your persistent craft path>:/home/user/CraftRoot kdeorg/android- | docker run -ti --rm -v <your persistent craft path>:/home/user/CraftRoot kdeorg/android-sdk craft-bootstrap | ||
This will ask you for which architecture you want to build and then set up Craft accordingly. | This will ask you for which architecture you want to build and then set up Craft accordingly. |
Revision as of 23:18, 18 July 2021
Preparations
Get the KDE Android Docker SDK:
docker pull kdeorg/android-sdk
Setup Craft
For the initial setup, run the following command:
docker run -ti --rm -v <your persistent craft path>:/home/user/CraftRoot kdeorg/android-sdk craft-bootstrap
This will ask you for which architecture you want to build and then set up Craft accordingly. Replace <your persistent craft path> with an empty local folder that will hold all the source code, build results and final packages produces by Craft.
Using Craft
You can issue Craft commands as follows now:
docker run -ti --rm -v <your persistent craft path>:/home/user/CraftRoot kdeorg/android-sdk craft -p ktrip
To not type this every time you probably want to define an alias for the docker part of this command. Craft can then be used like on any other platform.