update to include windows instructions

parent 67d4a5e5
...@@ -10,17 +10,15 @@ ...@@ -10,17 +10,15 @@
Retrolambda needs java8 to be installed on your system Retrolambda needs java8 to be installed on your system
``` ```
export ANDROID_HOME=/path/to/android/sdk $ export ANDROID_HOME=/path/to/android/sdk
$ git clone https://github.com/RocketChat/Rocket.Chat.Android.git
git clone https://github.com/RocketChat/Rocket.Chat.Android.git $ cd Rocket.Chat.Android
cd Rocket.Chat.Android $ echo "sdk.dir="$ANDROID_HOME > local.properties
$ ./gradlew assembleDebug
echo "sdk.dir="$ANDROID_HOME > local.properties (> gradlew assembleDebug on Windows)
./gradlew assembleDebug
``` ```
### How to sent APK to device ### How to send APK to device
The following steps are only needed if running via command line. They are not needed if you are building via Android Studio. The following steps are only needed if running via command line. They are not needed if you are building via Android Studio.
...@@ -30,7 +28,7 @@ If a single device exists, install via `$ adb install /path/to/apk.apk`. ...@@ -30,7 +28,7 @@ If a single device exists, install via `$ adb install /path/to/apk.apk`.
Assuming you used Gradle like earlier, the file will be called `module_name-debug.apk` in `project_name/module_name/build/outputs/apk/`. Assuming you used Gradle like earlier, the file will be called `module_name-debug.apk` in `project_name/module_name/build/outputs/apk/`.
Alternatively, you can simply run `./gradlew installDebug` to build, deploy, and debug all in a single command. Alternatively, you can simply run `$ ./gradlew installDebug` (`> gradlew installDebug` on Windows)to build, deploy, and debug all in a single command.
## Bug report & Feature request ## Bug report & Feature request
......
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