From f21bde5dab5eba2d6efcacf5614faa08f8d0cd50 Mon Sep 17 00:00:00 2001 From: M Date: Thu, 6 Jan 2022 13:47:01 +0200 Subject: [PATCH] Update build instruction for android --- howto-build-android.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/howto-build-android.md b/howto-build-android.md index 02652d49b..c8da3b044 100644 --- a/howto-build-android.md +++ b/howto-build-android.md @@ -97,6 +97,17 @@ Proceed into the source code before proceeding with the next steps: ### 8. Execute Build & Setup Commands for CakeWallet +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. + +Please pick what app you want to build: cakewallet or monero.com. + +`$ ./app_env.sh ` +(it should be like `$ ./app_env.sh cakewallet` or `$ ./app_env.sh monero.com`) + +Then run configuration script for setup app name, app icon and etc: + +`$ ./app_config.sh` + Build the Monero libraries and their dependencies: `$ ./build_all.sh` @@ -129,6 +140,16 @@ Then we need to generate localization files. Lastly, we will generate mobx models for the project. +Generate mobx models for `cw_core`: + +`cd cw_core && flutter pub get && flutter packages pub run build_runner build --delete-conflicting-outputs` + +Then get back to project root directory: + +`cd ..` + +Finally build mobx models for the app: + `$ flutter packages pub run build_runner build --delete-conflicting-outputs` ### 9. Build!