Android Studio 将物理设备识别为 Null? [英] Android Studio recognizes physical Device as Null?

查看:37
本文介绍了Android Studio 将物理设备识别为 Null?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在开发 Android 应用程序(SDK 最低版本 14),并且我已经使用 Samsung Galaxy 2 和 Nexus 7 等平板电脑对其进行了正常测试.但是,当我尝试运行该应用程序时(通过在AndroidStudio 中单击运行),AS 无法识别平板电脑信息,如下图所示.

I've been developing an Android Application for Android (SDK min version 14) and I have testing it normally with tablets such as Samsung Galaxy 2 and Nexus 7. However when I tried to run the application (by clicking run in AndroidStudio), AS does not recognise the tablet information, which is shown in the picture below.

有趣的是,如上图所示,当它的Android版本是4.2.2时,AS也在检测设备sdk为API 1平板电脑已在开发人员选项中设置为接受USB 调试",我尝试重新启动平板电脑并重新启动 AS,但仍然遇到相同的问题( 一切正常nexus 7 和三星 Galaxy 2).

The interesting thing is that as shown in the picture above, AS is also detecting the device sdk as API 1 when it's Android version is 4.2.2 The tablet is already set to accept "USB debugging" in the developer options, I'have tried rebooting the tablet, and restarting AS, but still I get the same problem(everything is fine with nexus 7 and Samsung Galaxy 2).

我正在使用的平板电脑/设备是VeryKool"T742

The tablet/device I'm working on is a "VeryKool" T742

Environment information:
 OS: ubuntu
 AndroidStudio version: 0.8.6

 Tablet Android version:4.2.2
 Tablet Kernel version: 3.4.5
 App min SDK: 14

推荐答案

Ok 所以我终于找到了问题,显然在这个设备上你必须设置连接为相机(即使在 USB 调试已经启用之后)

Ok So I finally found the problem, apparently on this device you have to set to connect as camera(even after usb debugging is already enabled)

还有这个链接描述了设置过程

这篇关于Android Studio 将物理设备识别为 Null?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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