命令行1、啟動SDK Manager: android2、啟動DDMS:dams3、獲取當前運行的所有模擬器:adb devices4、安裝應用程式:adb install -r 應用程式.apk 卸載應用程式:adb uninstall 應用程式包名5、獲取模擬器中的文件:adb pull <re ...
命令行
1、啟動SDK Manager: android
2、啟動DDMS:dams
3、獲取當前運行的所有模擬器:adb devices
4、安裝應用程式:adb install -r 應用程式.apk
卸載應用程式:adb uninstall 應用程式包名
5、獲取模擬器中的文件:adb pull <remote> <local>
6、向模擬器中寫文件:add push <local> <remote>
7、進入模擬器shell模式:adb shell
8、命令行中查看Log信息:adb logcat -s 標簽名
9、查看幫助信息:adb help
10、只過濾某個包名下的日誌:adb logcat | grep “com.xsp”
終端
1、打開多個終端:command +N
2、打開多個視窗:command + T
adb shell
grep
adb bash