adb

按键精灵助手无法连接模拟器解决方案【适用任何模拟器】

血红的双手。 提交于 2020-01-19 01:09:29
找到按键精灵安装地址 D:\ProgramData\按键精灵\按键精灵手机助手\android 找到木木安装地址,并搜索adb.exe,未找到 但是在D:\Program Files (x86)\MuMu\emulator\nemu\vmonitor\bin找到 adb_server.exe 以及另外两个.dll 复制着三个文件到按键精灵上述文件夹,并把按键精灵源文件备份 修改adb_server.exe为adb.exe 在模拟器端打开按键精灵app,允许获得管理员权限。 到任务管理器,把已经运行的adb.exe关掉,不然不成功 、 然后按照cmd管理员运行,输入相关命令 最后在按键精灵连接,成功。 来源: CSDN 作者: kk_wei0520 链接: https://blog.csdn.net/qq_37428797/article/details/104012647

send touch events to a device via adb [duplicate]

為{幸葍}努か 提交于 2020-01-18 11:44:39
问题 This question already has answers here : How to use ADB to send touch events to device using sendevent command? (5 answers) Closed 2 years ago . I am trying to send touch events to a device using adb shell command, so that I can do some basic automation for UI tests. I have followed the discussion in some previous threads regarding this. I confirmed about getting the events and using sendevent , to send out 6 events for each touch ( xcoord, ycoord, 2 for press, 2 for release) and it was easy

send touch events to a device via adb [duplicate]

被刻印的时光 ゝ 提交于 2020-01-18 11:40:08
问题 This question already has answers here : How to use ADB to send touch events to device using sendevent command? (5 answers) Closed 2 years ago . I am trying to send touch events to a device using adb shell command, so that I can do some basic automation for UI tests. I have followed the discussion in some previous threads regarding this. I confirmed about getting the events and using sendevent , to send out 6 events for each touch ( xcoord, ycoord, 2 for press, 2 for release) and it was easy

send touch events to a device via adb [duplicate]

前提是你 提交于 2020-01-18 11:38:07
问题 This question already has answers here : How to use ADB to send touch events to device using sendevent command? (5 answers) Closed 2 years ago . I am trying to send touch events to a device using adb shell command, so that I can do some basic automation for UI tests. I have followed the discussion in some previous threads regarding this. I confirmed about getting the events and using sendevent , to send out 6 events for each touch ( xcoord, ycoord, 2 for press, 2 for release) and it was easy

Android中常用ADB命令集锦

守給你的承諾、 提交于 2020-01-17 20:19:29
收集的Android测试或者开发中常用的aadb命令,可以使用Ctrl+F快速搜索 ### ADB命令集锦: adb --help //adb帮助 adb start-server //启动adb server adb kill-server //关闭adb server adb devices //获取设备号 adb logcat //查看系统日志 adb bugreport //打印dumpsys、dumpstate、logcat的输出 adb install //安装应用 adb uninstall //卸载应用 adb pull 手机路径 电脑路径 //将手机中的文件拷贝到电脑中 adb push 手机路径 电脑路径 //发送文件到手机中 adb reboot //手机重启 adb reboot recovery //重启到Recovery中 adb reboot fastboot //重启到fastboot中 adb root //获取root权限 adb get-serialno //获取设备序列号SN值 adb get-product //获取设备的ID adb forward tcp:5555 tcp:8000 //作为主机箱模拟器或设备的请求端口 adb connect //连接手机 (可以通过IP、设备号) adb -s 设备号 shell //进入shell

flutter Mac电脑安卓真机调试

孤者浪人 提交于 2020-01-17 13:49:30
1.首先配置flutter的环境。略 2.测试是否adb是否安装成功,如果还不行,请检测你保存的sdk路径是否正确。 执行命令 adb version 如下信息表示安装成功。 3. 修改 adb_usb.ini 文件 终端执行 system_profiler SPUSBDataType 如下 慌得一笔,哪一个才是? 这时候才知道,不是每条能充电的数据线都可以传递数据,我就是傻傻的以为我的数据线可以传递数据,试了好久一直不行。 参考一个哥们写的文章, 方法:下载一个 androidfiletransfer.dmg,安装之后,看看能不能读取手机数据,如果能够读取,好的,恭喜你,第一步完成了。 真正显示的是 剩下的就好弄了 终端执行 2:终端输入: vi ~/.android/adb_usb.ini 3:.将 0x046d Vendor ID黏贴进去,再按esc ,然后输入:wq保存 4: 关闭和重启adb:adb kill-server adb start-server 查看手机设备: adb devices 来源: CSDN 作者: pengyouyoupeng 链接: https://blog.csdn.net/pengyouyoupeng/article/details/104015803

appium的log详细分析

孤街醉人 提交于 2020-01-16 23:55:48
下面介绍appium日志的大概分析 //启动appium服务成功 2017-03-24 11:22:49:218 - info: [Appium] Welcome to Appium v1.6.3 2017-03-24 11:22:49:221 - info: [Appium] Non-default server args: 2017-03-24 11:22:49:222 - info: [Appium] log: 'C:\\Users\\LXG\\Desktop\\appium.log' 2017-03-24 11:22:49:270 - info: [Appium] Appium REST http interface listener started on 0.0.0.0:4723 //收到从脚本传递的post请求,将desiredCapabilities参数全部传递给服务端 2017-03-24 11:23:57:842 - info: [HTTP] --> POST /wd/hub/session {"capabilities":{"desiredCapabilities":{"app":"C:\\Users\\LXG\\Desktop\ \zhihunew1.apk","noSign":true,"newCommandTimeout":600,

How to call getPackageManager() from Android command-line executable

眉间皱痕 提交于 2020-01-16 11:16:20
问题 I am writing a command-line tool for Android (such that it would be called via 'adb shell' or the like, as opposed to being launched via the Android interface). I want to write something that uses the same kind of information as the 'pm list packages' tool that you can run from an adb shell, which I presume uses getPackageManager() or something like it. So I've figured out how to compile and run a Java tool in Dalvik, but I can't figure out how to get it the context it needs for

How to call getPackageManager() from Android command-line executable

£可爱£侵袭症+ 提交于 2020-01-16 11:16:04
问题 I am writing a command-line tool for Android (such that it would be called via 'adb shell' or the like, as opposed to being launched via the Android interface). I want to write something that uses the same kind of information as the 'pm list packages' tool that you can run from an adb shell, which I presume uses getPackageManager() or something like it. So I've figured out how to compile and run a Java tool in Dalvik, but I can't figure out how to get it the context it needs for

AndroidStudio连接MUMU模拟器

a 夏天 提交于 2020-01-16 03:14:35
AndroidStudio连接MUMU模拟器 https://www.cnblogs.com/ishai/p/11068899.html AndroidStudio连接MUMU模拟器 想连接模拟器,发现不能连接不上,其他模拟器好像可以,但因为习惯mumu了,于是还是百度查找原因吧...... 输入D:\Program Files\Android\Sdk\platform-tools    (adb所在的路径) 再输入:adb connect 127.0.0.1:7555 夜神模拟器:adb connect 127.0.0.1:62001 逍遥安卓模拟器:adb connect 127.0.0.1:21503 天天模拟器:adb connect 127.0.0.1:6555 海马玩模拟器:adb connect 127.0.0.1:53001 网易MUMU模拟器:adb connect 127.0.0.1:7555 原生模拟器:adb connect (你的IP地址):5555 参考: 原文:https://blog.csdn.net/qq_35605213/article/details/80241641 来源: CSDN 作者: kuangben2000 链接: https://blog.csdn.net/kuangben2000/article/details