1.adb 查看当前运行的包名和Activity
adb shell dumpsys window | findstr mCurrentFocus ---这个前提是在你的设备里运行该程序
2.adb 输出安装包的APK路径
adb shell pm path com.tencent.mobileqq
3.adb 清除缓存和数据
adb shell pm clear 包名
1.adb 查看当前运行的包名和Activity
adb shell dumpsys window | findstr mCurrentFocus ---这个前提是在你的设备里运行该程序
2.adb 输出安装包的APK路径
adb shell pm path com.tencent.mobileqq
3.adb 清除缓存和数据
adb shell pm clear 包名
转载于:https://www.cnblogs.com/bzdfxx/p/9682543.html