Can't find android device using “adb devices” command

后端 未结 16 1055
梦如初夏
梦如初夏 2021-01-30 00:49

I am developing Android application on macOS and my application runs well on the emulator. I want to run it on the device, but when I run adb dev

16条回答
  •  终归单人心
    2021-01-30 01:39

    make sure you have same / higher API level installed on SDK packages with your devices.

    example :

    I have Android 2.3.4 on my Xperia Play. ADB wouldn't detect my device if theres only API 10 (Android 2.3.3) installed on my Mac. When i installed SDK 11 (Android 3.0) -- since I didn't found any SDK package for 2.3.4, the ADB working fine.

    hope this help you.

提交回复
热议问题