Last active
February 26, 2020 02:45
-
-
Save phellipealexandre/59073e34a7ba615d8c760d59bac50519 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lint: | |
./gradlew lintCheckErrors --info | |
run-unit-tests: | |
./gradlew test | |
run-instrumented-tests: clear-app-data disable-animations | |
./gradlew connectedAndroidTest | |
run-all-tests: run-unit-tests build-install-app run-instrumented-tests | |
assemble-debug-app: | |
./gradlew assembleDebug | |
install-debug-app: | |
./gradlew installDebug | |
build-and-install-debug-app: assemble-debug-app install-debug-app | |
uninstall-app: | |
adb uninstall [your.app.package] | |
clear-app-data: | |
adb shell pm clear [your.app.package] | |
clear-project: | |
./gradlew clean cleanBuildCache | |
list-devices: | |
adb devices | |
disable-animations: | |
adb shell settings put global window_animation_scale 0 | |
adb shell settings put global transition_animation_scale 0 | |
adb shell settings put global animator_duration_scale 0 | |
enable-animations: | |
adb shell settings put global window_animation_scale 1 | |
adb shell settings put global transition_animation_scale 1 | |
adb shell settings put global animator_duration_scale 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment