mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 04:13:53 +01:00
convenient commands
This commit is contained in:
parent
c50d6aa954
commit
e45220620a
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
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
|
||||
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)
|
||||
3. Run `gradlew.bat assembleDebug` (Windows) or `./gradlew assembleDebug` (Mac / Linux) to build an unisgned apk
|
||||
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]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue