From 704c344dae7a8a66e348f0344fa8d4ff96665f67 Mon Sep 17 00:00:00 2001 From: EXL Date: Fri, 5 May 2017 01:44:37 +0700 Subject: [PATCH] Update ReadMe.md --- ReadMe.md | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/ReadMe.md b/ReadMe.md index fffef70..6e1efad 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -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