Commit 7f896ab9 authored by EXL's avatar EXL
Browse files

Update ReadMe.md

parent c6aaf4d6
......@@ -28,38 +28,29 @@ cd ~/Deploy/
git clone https://github.com/EXL/AdamantArmorAffectionAdventure AdamantArmorAffectionAdventureAndroid
```
* Edit "project.properties" file and set the installed Android API SDK version here, for example:
```sh
# Project target.
target=android-23
```
* Build the APK-package into deploy directory;
* Build the APK-package into deploy directory with Gradle building script;
```sh
cd ~/Deploy/AdamantArmorAffectionAdventureAndroid/
/opt/android/android-sdk-linux/tools/android update project -n AdamantArmorAffectionAdventure -p .
/opt/android/android-ndk-r10d/ndk-build V=1
/opt/android/apache-ant-1.9.4/bin/ant debug
ANDROID_HOME="/opt/android-sdk/" ./gradlew assembleDebug
```
* Create OBB-cache file;
```sh
/opt/android/android-sdk/tools/jobb -d assets_obb/ -o main.1.ru.exlmoto.aaaa.obb -pn ru.exlmoto.aaaa -pv 1
/opt/android-sdk/tools/jobb -d assets_obb/ -o main.2.ru.exlmoto.aaaa.obb -pn ru.exlmoto.aaaa -pv 2
```
* Install Adamant Armor Affection Adventure APK-package on your Android device via adb and put OBB-cache on sdcard;
```sh
cd ~/Deploy/AdamantArmorAffectionAdventureAndroid/
/opt/android/android-sdk-linux/platform-tools/adb install -r bin/AdamantArmorAffectionAdventure-debug.apk
/opt/android/android-sdk-linux/platform-tools/adb push main.1.ru.exlmoto.aaaa.obb /storage/sdcard0
/opt/android-sdk/platform-tools/adb install -r aaaa/build/outputs/apk/aaaa-debug.apk
/opt/android-sdk/platform-tools/adb push main.2.ru.exlmoto.aaaa.obb /storage/sdcard0
```
* Run and enjoy!
You can also import this project in your favorite IDE: Eclipse or Android Studio and build the APK-package by using these programs.
You can also open this project in Android Studio IDE and build the APK-package by using this program.
## More information
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment