zoukankan      html  css  js  c++  java
  • ADB命令

    1.启动app

    adb shell am start -n [包名]/[类名]

    例:adb shell am start -n com.joe.test/.MainActivity

    2.连接了多个设备时,进入指定设备

    先输入adb devices 查看设备list

    然后输入 adb -s [序列号] shell

    3.查看service列表:

    adb shell service list

    4.检查有没有该service:

    adb shell service check [服务名] (这个没有成功啊。搞不懂)

    5.查看系统进程并正则匹配:

    adb shell ps | grep [匹配字符串]

    例:adb shell ps | grep dpl

    6.获取apk安装路径:

    adb shell pm path +apk包名

    例:adb shell pm path com.android.smart.terminal.dplatform

    7.查看IP地址:

    adb shell netcfg

    8.重启adb:

    adb shell start adbd

  • 相关阅读:
    Pentaho
    sympy 解四元一次方程
    install R language on ubuntu
    pyside
    浙江省医院网上挂号
    mtu值相关
    Python 中除法运算需要注意的几点
    idea
    kilim
    good blog
  • 原文地址:https://www.cnblogs.com/jdhdevelop/p/11136596.html
Copyright © 2011-2022 走看看