找不到统一的android设备 [英] No android device found in unity

查看:161
本文介绍了找不到统一的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.

取消窗口显示此错误:

未找到android设备!如果您确定设备已连接,则可能是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?

推荐答案

从您的android设备断开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.

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

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