Update build instruction for android
M committed
Jan 6, 2022 at 13:47 UTC
f21bde5dab5eba2d6efcacf5614faa08f8d0cd50
1 file changed
+21
howto-build-android.md
+21
@@ -97,6 +97,17 @@ Proceed into the source code before proceeding with the next steps:
97
98
### 8. Execute Build & Setup Commands for CakeWallet
99
100
+We need to generate project settings like app name, app icon, package name, etc. For this need to setup environment variables and configure project files.
101
+
102
+Please pick what app you want to build: cakewallet or monero.com.
103
+
104
+`$ ./app_env.sh <cakewallet OR monero.com>`
105
+(it should be like `$ ./app_env.sh cakewallet` or `$ ./app_env.sh monero.com`)
106
+
107
+Then run configuration script for setup app name, app icon and etc:
108
+
109
+`$ ./app_config.sh`
110
+
111
Build the Monero libraries and their dependencies:
112
113
`$ ./build_all.sh`
@@ -129,6 +140,16 @@ Then we need to generate localization files.
140
141
Lastly, we will generate mobx models for the project.
142
143
+Generate mobx models for `cw_core`:
144
+
145
+`cd cw_core && flutter pub get && flutter packages pub run build_runner build --delete-conflicting-outputs`
146
+
147
+Then get back to project root directory:
148
+
149
+`cd ..`
150
+
151
+Finally build mobx models for the app:
152
+
153
`$ flutter packages pub run build_runner build --delete-conflicting-outputs`
154
155
### 9. Build!