convenient commands

This commit is contained in:
Nicolas Raoul 2016-07-11 23:06:33 +09:00 committed by GitHub
parent c50d6aa954
commit e45220620a

View file

@ -29,8 +29,8 @@ Note: It is much harder to build manually. We recommend you use Android Studio o
1. Set the environment variable `ANDROID_HOME` to be the path to your Android SDK 1. Set the environment variable `ANDROID_HOME` to be the path to your Android SDK
2. Set the environment variable `JAVA_HOME` to the path to your Java SDK 2. Set the environment variable `JAVA_HOME` to the path to your Java SDK
3. Run `gradlew.bat assembleRelease` (Windows) or `./gradlew assembleRelease` (Mac / Linux) to build an unisgned apk 3. Run `gradlew.bat assembleDebug` (Windows) or `./gradlew assembleDebug` (Mac / Linux) to build an unisgned apk
4. From your Android SDK's /tools directory run `adb install path/to/app.apk` (Emulator) or `adb -d install path/to/app.apk` (USB debugging) 4. Alternatively, you can also connect your Android device via USB and install the app on it directly by running `gradlew.bat installDebug` (Windows) or `./gradlew assembleRelease` (Mac / Linux)
There are more thorough instructions on the [Android Developers website][5] There are more thorough instructions on the [Android Developers website][5]