adb命令启动APP
1、查询APP的包名:aapt dump badging 包名(apk)| findstr package
如:aapt dump badging com.zhaopin.social_8006.apk |findstr package
2、查询APP的Activity的值:aapt dump badging 包名(apk)| findstr activity
如:aapt dump badging com.zhaopin.social_8006.apk |findstr activity
3、启动APP:adb shell am start -W -n 包名/启动的Activity
如:adb shell am start -W -n com.zhaopin.social/com.zhaopin.social.SplashActivity
启动后的APP可以在真机或者虚拟机上看到实际的效果
以上操作见下图:
You don't start over,Every step you take is forever.