Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README: More detailed Android building instructions #11306

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,16 @@ npm run start:desktop

Before building the release version for a platform, run the `clean-all` command to delete any untracked files in your current working directory. (Be sure to stash any uncommitted changes you've made.) This guarantees consistency across builds for the current state of this repository.

The `final` commands build the production version of the app, and bundle it with the release version of the platform being built.
You still need to follow the [Cordova Android Platform Guide](https://cordova.apache.org/docs/en/latest/guide/platforms/android/) to set up your development environment. Specifically, you will need to set the `ANDROID_HOME` environment variable, include the Android SDK's tools, tools/bin, and platform-tools directories to your PATH:
```
export ANDROID_HOME=/Development/android-sdk
export PATH=${PATH}:/Development/android-sdk/platform-tools:/Development/android-sdk/tools
```

You may also need to install `gradle` independently in your distribution (e.g. `sudo apt install gradle` for Ubuntu).

The `final` commands build the production version of the app, and bundle it with the release version of the platform being built. The build will fail if no `copay.keystore` in the `..\copay` directory is provided. Produce a new android keystore named `copay.keystore` and include a signed key named `copay_play` to finish the build.


### Android

Expand Down