Last active
June 1, 2019 16:09
-
-
Save weslley39/b828854c8bf26109b30216ba6a5ab154 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
export PATH=/Users/weslleyneri/Library/Android/sdk/platform-tools:/Users/weslleyneri/Library/Android/sdk/tools:$PATH | |
adb reverse tcp:8081 tcp:8081 - foward port | |
adb shell input keyevent 82 - run command line tools | |
adb shell settings put system screen_off_timeout 60000 - always awake | |
~/Library/Android/sdk/emulator/emulator -avd Pixel_2_API_27 -dns-server 8.8.8.8,8.8.4.4 - start avd on mac | |
"/emulator -list-avds" - list emulators | |
./gradlew installDebug - install app from comand liine | |
adb logcat *:S ReactNative:V ReactNativeJS:V - see console.logs | |
adb push /Users/weslleyneri/apps/rook/android/app/build/outputs/apk/app-dev19-armeabi-v7a-debug.apk /data/local/tmp/net.lua.reseller | |
adb shell pm install -t -r "/data/local/tmp/net.lua.reseller" | |
adb reverse tcp:19000 tcp:19000 && adb reverse tcp:19001 tcp:19001 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment