一、准备工作
1、查看设备:adb devices -l
2、查看应用:adb shell pm list packages
3、查看应用activity:adb shell dumpsys activity activities|grep xxx|grep LAUNCHER
4、卸载旧程序:adb uninstall com.fooww.soft.android.Presentation
5、安装程序:adb install /Users/cady/Downloads/xxx.apk
二、响应
1、冷启动:adb shell am start -W com.fooww.soft.android.Presentation/.SplashScreenActivity
2、热启动:设备按【back】,再次执行adb shell am start -W com.fooww.soft.android.Presentation/.SplashScreenActivity