Android framework开发 基本命令

1.git branch -a 查看是否指向正确分支
2.git status ./ 查看代码是否干净
3.git pull --rebase 同步远程代码,防止冲突
4.git add
5.git commit -m "log info"
6.git push origin X9:X9
7.git pull --rebase
adb install -r filepath
adb uninstall packagename (卸载)
adb shell dumpsys activity
adb shell am start -n 
adb shell wm size
adb shell am start -n com.newings.wlauncher/.Launcher  调取launch界面
adb shell am start -n com.juphoon.cloud.testwatch/com.juphoon.cloud.testwatch.MainActivity 调取某个应用的MainActivity界面

猜你喜欢

转载自blog.csdn.net/qq_25430563/article/details/88310720