adb shell 启动,停止 android 应用程序
来源:互联网 发布:淘宝达人头像要求 编辑:程序博客网 时间:2024/06/16 00:08
一、adb启动 应用程序
(1)查看app包名:
进入android操作系统
adb shell
在root@android:/ # 后边,输入
cd data/data
然后输入ls
这样就能看见android系统上安装的安装包 包名:
例如:
cn.com.conversant.swiftsync.androidcom.android.backupconfirmcom.android.browsercom.android.calculator2com.android.calendarcom.android.camera...
(2)adb启动 应用程序
adb shell am start -n cn.com.conversant.swiftsync.android/cn.com.conversant.swiftsync.android.main.SplashActivity
备注:
adb shell am start -n 包名/Activity类的类名
包名和Activity类的类名一定要输入正确,可以用re-sign工具(在最后的弹出信息框会显示出包名和Activity类名)。
二、adb停止 应用程序
adb shell am force-stop cn.com.conversant.swiftsync.android
备注:
cn.com.conversant.swiftsync.android
为包名。
阅读全文
0 0
- [原创] adb shell 启动,停止 android 应用程序
- adb shell 启动,停止 android 应用程序
- adb shell 启动,停止 android 应用程序
- adb shell 启动,停止 android 应用程序
- adb shell 启动,停止 android 应用程序
- adb shell 启动,停止 android 应用程序
- adb shell 启动,停止 android 应用程序
- Android adb shell启动应用程序的方法
- Android adb shell启动应用程序的方法
- Android adb shell启动应用程序的方法
- Android adb shell启动应用程序的方法
- Android adb shell启动应用程序的方法
- Android adb shell启动应用程序的方法
- Android adb shell启动应用程序的方法
- android如何用adb shell启动应用程序
- Android adb shell启动应用程序的方法
- Android adb shell启动应用程序的方法
- Android adb shell启动应用程序的方法
- frida hook重载函数的几种写法
- Frida hook带handler的method
- Frida JAVA API 文档
- Android Studio 调试会出现安装两个相同的APP?
- laravel框架修改命名空间
- adb shell 启动,停止 android 应用程序
- 我理解的软件工作者应具备的思想和职业素养
- 《Kotlin 程序设计》第一章 Kotlin简介
- [RK3288][Android6.0] 调试笔记 --- 开机动画画面偏移
- 《Kotlin 程序设计》第二章 快速开始:HelloWorld
- HDU 2680-Choose the best route(Dijkstra)
- Vasya and Chess
- Tomcat的下载与安装
- HiTSDB 时序数据库技术架构和产品解析