zoukankan      html  css  js  c++  java
  • adb

    连接电脑:adb devices

    导出日志:adb logcat > d:/test.log

    登录手机:adb shell

    拉取信息到本地:adb pull /sdcard/test.mp4 d:/test/

    把信息发到手机:adb push d:/test.log /sdcard/

    安装apk:adb instsll d: est.apk

    卸载apk:adb uninstall 应用包名

    查看应用包名:adb shell dumpsys activity | find "mFocusedActivity"

    通过wifi进行远程连接:adb connect/disconnect 127.0.0.1:62001

    设置端口:adb tcpip 5555

    fiddler:模拟网络延时场景

    network emulator toolkit 模拟网络丢包场景

    fiddler:网络延迟:rules》》customize rules 》》搜索m_SimulateModem

    adb kill-server

    adb start-server重启adb

     查看所有包名:adb shell ps list packages

     monkey:

    adb shell monkey (参数)事件次数

    adb shell monkey -help/-h

    查看日志:adb shell monkey -v -v -v 1000

    重现事件:-s 事件参数(100)

    ------------恢复内容结束------------

  • 相关阅读:
    树剖
    codeforces round 589
    codeforces round 590
    code craft 20
    Ozon Tech Challenge 2020 (Div.1 + Div.2)
    codeforces round 625
    Crime HDU
    codeforces 594
    codeforces 596
    python操作mysql方法和常见问题
  • 原文地址:https://www.cnblogs.com/xuezhihao/p/12544185.html
Copyright © 2011-2022 走看看