No android device found in unity

前端 未结 11 2220
花落未央
花落未央 2020-12-06 05:26

When I am building a game for android, I get this message:

No Android device found! Make sure USB debugging has been enabled. Check your device. I

11条回答
  •  甜味超标
    2020-12-06 06:04

    I had this problem. In my case, the usb driver was not installed by default with the AndroidSDK. I dunno why this is even optional, but it sure screwed me up.

    Open Android Studio, click Configure->SDK Manager. In the center area, next to SDK Platforms, click the SDK Tools frame. Near the bottom is "Google USB Driver", which for me was unchecked and said Not Installed. Check the box and click Apply. It should download the usb driver. For me, it was put into C:\Users\my_name\AppData\Local\Android\Sdk\extras\google\usb_driver

    Now I can actually follow the almost-correct instructions found here: https://developer.android.com/studio/run/oem-usb.html

提交回复
热议问题