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

    1.USB连接手机 确保adb可以正常连接

    C:UsersShone>adb devices
     List of devices attached 
     882QAEU99J9HU   device

    2.激活adb服务 :(可以拔线了)

    adb tcpip 端口号(建议默认用5555)
    C:UsersShone>adb tcpip 5555
     restarting in TCP mode port: 5555

    3.通过手机局域网IP连接手机

    adb connect devicesip:port(如果port是5555可以省略)
    C:UsersShone>adb connect 192.168.0.103
     already connected to 192.168.0.103:555

    4.检查是否连接上

    C:UsersShone>adb devices -l
     List of devices attached 192.168.0.103:5555  
      device product:meizu_16th_CN model:16th device:16th transport_id:3

    5.查询已经运行的软件,找到对应的包名以及入口信息

    C:UsersShone>adb shell dumpsys activity recents | findstr intent={

     包名:com.hpbr.bosszhipin

    入口信息:.module.launcher.WelcomeActivity

  • 相关阅读:
    [SCOI2008]奖励关
    [HNOI2015]落忆枫音
    [HAOI2012]高速公路
    [HNOI2012]集合选数
    A. 【UNR #2】积劳成疾
    整体二分
    [HNOI2015]亚瑟王
    [SDOI2010]星际竞速
    [SDOI2010]地精部落
    [SDOI2014]数数
  • 原文地址:https://www.cnblogs.com/zhuxibo/p/14245553.html
Copyright © 2011-2022 走看看