diff --git a/README.md b/README.md index 69e587d1..09df5ccb 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Only need to adjust `Bundle Identifier` to your app id. Then you can run it dire ## Android Compile -Install [Android Studio](https://developer.android.com/studio) +[Click here to view](android_compile.md) ## Other diff --git a/README_zh.md b/README_zh.md index 8ec5ce42..90702522 100644 --- a/README_zh.md +++ b/README_zh.md @@ -29,7 +29,7 @@ Bitshares Mobile App 是 [Bitshares区块链](https://github.com/bitshares/bitsh 只需要调整 `Bundle Identifier` 为您的应用ID。然后直接在xcode中运行即可。 ## Android编译 -安装 [Android Studio](https://developer.android.com/studio/) +[点击这里查看](android_compile.md) ## 其他 配置Fabric diff --git a/android_compile.md b/android_compile.md new file mode 100644 index 00000000..cde9e3ca --- /dev/null +++ b/android_compile.md @@ -0,0 +1,109 @@ +# Android Test & Build & Sign + +## Development Environment + +* Microsoft Windows10 1809 +* Mac OS X 10.8.5 +* Java JDK >= 10 +* Android Studio 3.1.3 - 3.2 + +## Download And Install Java +``` +https://www.oracle.com/technetwork/java/javase/downloads/index.html +``` + +## Install Android Studio +``` +https://developer.android.com/studio +``` + +## Run Android Stduio And Set Android Sdk (Android API 28) +

+ + + + + + +

+ +## Clone Project +``` +git clone https://github.com/bitshares/bitshares-mobile-app.git +``` + +## Open Project +``` +Open the project directory bitshare-mobile-app/android +``` +

+ + + +

+ +## Synchronize Gradle files and install dependencies. Click `File -> Sync Project With Gradle Files` +

+ + + +

+ + +## A. Click `Run -> Run 'app'` to Test +

+ + + +

+ + +## B. Generate Test Apk Click `Build -> Build APK(s)` +

+ + + +

+ + +## C. Generate Signed Apk Click `Build -> Generate Signed APK` +

+ + + +

+ +### Click `next` +

+ + + +

+ +### Click `create new` if there is no keystore +

+ + + +

+ +### Fill in the keystore information and click ok +

+ + + +

+ +### Input keystore password and next Step +

+ + + +

+ +### Finish +

+ + + +