Revised build instructions for flutter 2

Tanner Silva committed Apr 11, 2021 at 22:48 UTC c8a521a29f7e518da48410072b8658fc6643f874
1 file changed +5 -5
howto-build-android.md
+5 -5
@@ -8,7 +8,7 @@ The following are the system requirements to build CakeWallet for your Android d
8 Ubuntu >= 16.04
9 Android SDK 28
10 Android NDK 17c
11 -Flutter 1.22.6
11 +Flutter 2 or above
12 ```
13
14 ## Building CakeWallet on Android
@@ -51,9 +51,9 @@ You may download and install the latest version of Android Studio [here](https:/
51
52 ### 3. Installing Flutter
53
54 -CakeWallet requires **EXACTLY** Flutter version `1.22.6` to build properly.
54 +The easiest way to install Flutter is by using the `snap` package manager. Other means of installing Flutter on your system can be found [here](https://flutter.dev/docs/get-started/install/linux).
55
56 -To install this version of Flutter on your Ubuntu system, please use [these instructions](https://flutter.dev/docs/get-started/install/linux#install-flutter-manually).
56 +`$ sudo snap install flutter --classic`
57
58 ### 4. Verify Installations
59
@@ -64,7 +64,7 @@ Verify that the Android toolchain, Flutter, and Android Studio have been correct
64 The output of this command will appear like this, indicating successful installations. If there are problems with your installation, they **must** be corrected before proceeding.
65 ```
66 Doctor summary (to see all details, run flutter doctor -v):
67 -[✓] Flutter (Channel stable, 1.22.6, on Linux, locale en_US.UTF-8)
67 +[✓] Flutter (Channel stable, 2.0.2, on Linux, locale en_US.UTF-8)
68 [✓] Android toolchain - develop for Android devices (Android SDK version 28)
69 [✓] Android Studio (version 4.0)
70 ```
@@ -87,7 +87,7 @@ $ cd /opt/android
87
88 ..and download the source code into that directory.
89
90 -`$ git clone https://github.com/cake-tech/cake_wallet.git --branch deploy`
90 +`$ git clone https://github.com/cake-tech/cake_wallet.git --branch main`
91
92 Proceed into the source code before proceeding with the next steps:
93