在 unity 中找不到 android 设备 [英] No android device found in unity

查看:57
本文介绍了在 unity 中找不到 android 设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我为 android 构建游戏时,我收到以下消息:

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

未找到 Android 设备!确保已启用 USB 调试.检查您的设备.在大多数情况下,状态栏中应该有一个小图标,告诉您 USB 连接是否可用.如果您确定您的设备已连接,那么问题可能出在您的 USB 驱动程序上.有关详细信息,请查看 Unity 手册中的 Android SDK 设置部分.

No Android device found! Make sure USB debugging has been enabled. Check your device. In most cases there should be a small icon in the status bar telling you if the USB connection is available. If you are sure that your device is attached then it might be your USB driver that's the problem. For details please check the Android SDK setup section in the Unity manual.

取消窗口显示此错误:

未找到安卓设备!如果您确定您的设备已连接,那么问题可能出在您的 USB 驱动程序上.有关详细信息,请查看 Unity 手册中的 Android SDK 设置部分.

No android device found! If you are sure that your device is attached then it might be your USB driver that's the problem. For details please check the Android SDK setup section in the Unity manual.

同样的错误也出现在控制台中.如何修复此错误?

The same error also appeared in the Console. How do I fix this error?

推荐答案

从你的安卓设备上拔下 USB 数据线,前往设置 > 开发者选项并关闭和打开> USB 调试.同时点击撤销 USB 调试访问".现在,连接 USB 电缆.出现提示时点击是".

Disconnect the USB cable from your android device, go to Settings > Developer Options and turn off and on the USB Debugging . Also tap on "Revoke USB Debugging Access". Now, connect the USB cable. When prompted tap "Yes".

如果这对遵循@Programmer 的回答没有帮助.

If this doesn't help follow @Programmer answer.

这篇关于在 unity 中找不到 android 设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆