V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
tyhunter
V2EX  ›  问与答

新手求教关于 Mac 使用 adb 工具链接 Android 设备的问题

  •  
  •   tyhunter · May 17, 2018 · 1562 views
    This topic created in 2912 days ago, the information mentioned may be changed or developed.
    Macbook Pro 2016 款,最近在学习一些 android 开发知识,但是发现第一步就卡在了 adb 连接设备上
    1、USB 连接
    手机已经打开 USB 调试模式,用了小米 type-c 转 USB&HDMI 转接头连接手机,输入 adb devices 后提示 List of devices attached 设备列表为空,按照教程将 Vendor ID 添加到 /users/xxxx/.android/adb_usb.ini 中,然后重启 adb 进程,依旧无法连接到设备

    2、Wifi 连接
    首先尝试在 Mac 端 ping 手机 IP,能 ping 通,然后 adb connect 手机 IP 提示 connection refuse,试着执行 adb tcpip 5555,提示 error: no devices/emulators found,有点懵逼了。。。。

    难道需要我去换一台 windows 电脑????
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1381 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 23:55 · PVG 07:55 · LAX 16:55 · JFK 19:55
    ♥ Do have faith in what you're doing.