安卓工作室 : device not recongonized?

标签 android android-studio

在 android studio 上工作,我已经按照所有必需的步骤在真实设备上测试应用程序:

  1. 在设备上开启调试(7 次点击)
  2. 在 list 文件中声明可调试为真。
  3. 从 sdk 管理器安装了 Google USB 驱动程序。

但我的设备选择器在选择真实设备时仍然显示nothing to show。 请帮忙。

*系统规范与 Android Studio 兼容。

*设备是带有 android sdk 21- (lollipop) 的 Nexus 4。

*minsdk配置为android 15.

P.S.:AVD 和 Bluestack 模拟器都不能在我的系统上运行(不要建议 genimotion)。因此我只能选择真实设备。

最佳答案

将启用了 Android 调试的设备连接到 PC

从系统属性打开 Windows 的设备管理器。

您的设备应该出现在“其他设备”下,列为“Android ADB 接口(interface)”或“Android 手机”或类似内容。

右键单击它并单击“更新驱动程序软件...”

选择“浏览我的计算机以查找驱动程序软件”

选择“让我从计算机上的设备驱动程序列表中选择”

双击“显示所有设备”

按“安装磁盘”按钮

浏览并导航至 [无论您的 SDK 安装位置]\google-usb_driver 并选择 android_winusb.inf

从设备类型列表中选择“Android ADB 接口(interface)”。

按"is"按钮

按“安装”按钮

按“关闭”按钮

现在您已经正确设置了 ADB 驱动程序。重新连接您的设备 还没有认出它。

关于安卓工作室 : device not recongonized?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34839975/

相关文章:

android - Jetpack 根据大小组成具有自适应列数的网格

java - 除以零,同时在 Android 的表格布局中动态添加列

android - 如何以编程方式获取工具栏背景颜色?

android - 如何从Native Android Activity获取数据到Flutter路由库?

java - 在不重启 Android Studio 的情况下重启 Gradle

android - 找不到参数 [com.android.volley.tests] 的方法 testPackageName()

android - 编译后的APK文件包含大量未知的(A)XML布局

Android布局: Stick one Layout to the top of the screen and place another Layout centred below

Android:constraintLayout 在 CardView 内不起作用

android - 查看DragHelper : how to use it?