控制台调试android命令

命令
打包apk
cd /Users/hurcnmobile/workspace/Dev/kbn/android_project/branch/Dev_v19.0.1_V19.0.28_Google_Dev_ETC/Camelot
ant clean
ant release
安装apk到设备
/Users/hurcnmobile/Desktop/software/android-sdk-macosx/platform-tools/adb install /Users/hurcnmobile/workspace/Dev/kbn/android_project/branch/Dev_v19.0.1_V19.0.28_Google_Dev_ETC/Camelot_V19.0.28_Google_Dev_ETC.apk

查看设备log
/Users/hurcnmobile/Desktop/software/android-sdk-macosx/platform-tools/adb logcat
终端log输出
conrol+C
从刚才输出的log中查询 PID为3749
/Users/hurcnmobile/Desktop/software/android-sdk-macosx/platform-tools/adb logcat | grep 3749

你可能感兴趣的:(手游开发)