commit 324da972977a344f0cdbd4dc8ed023cb042c3016
parent a0023791e5d116ff06b2ae250e858f34d77c5a7d
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 1 Mar 2018 12:46:42 +0100
Provide command-line instructions to install SDKs in Kivy/buildozer
Diffstat:
1 file changed, 18 insertions(+), 7 deletions(-)
diff --git a/gui/kivy/Readme.md b/gui/kivy/Readme.md
@@ -35,18 +35,29 @@ sudo python3 setup.py install
Extract into `/opt/crystax-ndk-10.3.2`
## 3. Update the Android SDK build tools
-3.1 Start the Android SDK manager:
+
+### Method 1: Using the GUI
+
+ Start the Android SDK manager in GUI mode:
~/.buildozer/android/platform/android-sdk-20/tools/android
-
-3.2 Check the latest SDK available and install it.
-3.3 Close the SDK manager.
+ Check the latest SDK available and install it.
+ Close the SDK manager.
+ Reopen the SDK manager, scroll to the bottom and install the latest build tools (probably v27)
+ Install "Android Support Library Repository" from the SDK manager.
+
+### Method 2: Using the command line:
+
+ Repeat the following command until there is nothing to install:
+
+ ~/.buildozer/android/platform/android-sdk-20/tools/android update sdk -u -t tools,platform-tools
+
+ Install Build Tools, android API 19 and Android Support Library:
+
+ ~/.buildozer/android/platform/android-sdk-20/tools/android update sdk -u -t build-tools-27.0.3,android-19,extra-android-m2repository
-3.4 Reopen the SDK manager, scroll to the bottom and install the latest build tools (probably v27)
-## 4. Install the Support Library Repository
-Install "Android Support Library Repository" from the SDK manager.
## 5. Create the UI Atlas
In the `gui/kivy` directory of Electrum, run `make theming`.