Skip to content

Commit

Permalink
Update ReadMe.md
Browse files Browse the repository at this point in the history
  • Loading branch information
EXL committed May 4, 2017
1 parent 28ffc47 commit 704c344
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,31 +26,23 @@ cd ~/Deploy/
git clone https://github.com/EXL/AstroSmash AstroSmashAndroid
```

* 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/AstroSmashAndroid/
/opt/android/android-sdk-linux/tools/android update project -n AstroSmash -p .
/opt/android/apache-ant-1.9.4/bin/ant debug
ANDROID_HOME="/opt/android-sdk/" ./gradlew assembleDebug
```

* Install AstroSmash APK-package on your Android device via adb;

```sh
cd ~/Deploy/AstroSmashAndroid/
/opt/android/android-sdk-linux/platform-tools/adb install -r bin/AstroSmash-debug.apk
/opt/android-sdk/platform-tools/adb install -r astrosmash/build/outputs/apk/astrosmash-debug.apk
```

* 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

Expand Down

0 comments on commit 704c344

Please sign in to comment.