热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

AndroidStudio未检测到Nexus7-AndroidStudioisnotdetectingNexus7

IamusingAndroidStudio1.1.0underWindows8.1ProandtryingtoconnectmyNexus7runningAndro

I am using Android Studio 1.1.0 under Windows 8.1 Pro and trying to connect my Nexus 7 running Android version 5.1.

我在Windows 8.1 Pro下使用Android Studio 1.1.0并尝试连接运行Android 5.1版的Nexus 7。

I am following both Lynda tutorial and looking at android developers tutorials but was not able to find what's wrong.

我正在关注Lynda教程并查看android开发人员教程,但未能找到错误。

The device is visible in the Device Manager:

设备在设备管理器中可见:

enter image description here

The Google USB driver has been installed:

已安装Google USB驱动程序:

enter image description here

I have enabled a lot of Developer options of my Nexus 7 including:

我启用了Nexus 7的很多开发者选项,包括:

  • USB debugging
  • Stay awake
  • Bug report shortcut
  • Bug报告快捷方式

I am not seeing the details when I try either to run or debug the application. The device is not listed here (as shown in the video):

当我尝试运行或调试应用程序时,我没有看到详细信息。此处未列出该设备(如视频中所示):

enter image description here

I have try to:

我试着:

  • add android:debuggable="true" in AndroidManifest.xml
  • 在AndroidManifest.xml中添加android:debuggable =“true”

  • restart the PC
  • 重启电脑

  • reconnect the device
  • 重新连接设备

I was not able to find Unknown sources option in the Developer options which was recommended in some other answers of this issue.

我无法在开发人员选项中找到未知来源选项,这是在此问题的其他一些答案中推荐的。

Could you advice what to try?

你能建议尝试一下吗?


enter image description here

4 个解决方案

#1


0  

Click Revoke USB debugging authorization in Developer option and try it again.

单击“开发人员”选项中的“撤消USB调试授权”,然后重试。

Go to Settings -> Usb Connectivity -> Usb connection mode -> Check MTP mode.

转到设置 - > Usb连接 - > Usb连接模式 - >检查MTP模式。

And try sudo adb devices.

并尝试sudo adb设备。

#2


0  

I suggest re-installing your ADB Drive in the Android SDK file and making sure your device is in Debugging mode.

我建议您在Android SDK文件中重新安装ADB驱动器,并确保您的设备处于调试模式。

#3


0  

I have decided to change my OS and install Ubuntu 15.04 instead. After I installed the Android Studio what I needed to do was to simply connect my Nexus 7 with my computer - the studio detected it immediately - no additional drivers and settings were needed at all.

我决定改变我的操作系统并安装Ubuntu 15.04。安装Android Studio之后我需要做的就是简单地将Nexus 7连接到我的计算机 - 工作室立即检测到它 - 根本不需要额外的驱动程序和设置。

#4


0  

Go to developer settings and change USB-mode to Charging. Solution for Android M.

转到开发人员设置并将USB模式更改为“正在充电”。 Android M.的解决方案


推荐阅读
  • python3 nmap函数简介及使用方法
    本文介绍了python3 nmap函数的简介及使用方法,python-nmap是一个使用nmap进行端口扫描的python库,它可以生成nmap扫描报告,并帮助系统管理员进行自动化扫描任务和生成报告。同时,它也支持nmap脚本输出。文章详细介绍了python-nmap的几个py文件的功能和用途,包括__init__.py、nmap.py和test.py。__init__.py主要导入基本信息,nmap.py用于调用nmap的功能进行扫描,test.py用于测试是否可以利用nmap的扫描功能。 ... [详细]
  • IjustinheritedsomewebpageswhichusesMooTools.IneverusedMooTools.NowIneedtoaddsomef ... [详细]
  • mac php错误日志配置方法及错误级别修改
    本文介绍了在mac环境下配置php错误日志的方法,包括修改php.ini文件和httpd.conf文件的操作步骤。同时还介绍了如何修改错误级别,以及相应的错误级别参考链接。 ... [详细]
  • FeatureRequestIsyourfeaturerequestrelatedtoaproblem?Please ... [详细]
  • 本文分享了一个关于在C#中使用异步代码的问题,作者在控制台中运行时代码正常工作,但在Windows窗体中却无法正常工作。作者尝试搜索局域网上的主机,但在窗体中计数器没有减少。文章提供了相关的代码和解决思路。 ... [详细]
  • 如何自行分析定位SAP BSP错误
    The“BSPtag”Imentionedintheblogtitlemeansforexamplethetagchtmlb:configCelleratorbelowwhichi ... [详细]
  • Nginx使用(server参数配置)
    本文介绍了Nginx的使用,重点讲解了server参数配置,包括端口号、主机名、根目录等内容。同时,还介绍了Nginx的反向代理功能。 ... [详细]
  • 本文讨论了在Windows 8上安装gvim中插件时出现的错误加载问题。作者将EasyMotion插件放在了正确的位置,但加载时却出现了错误。作者提供了下载链接和之前放置插件的位置,并列出了出现的错误信息。 ... [详细]
  • Metasploit攻击渗透实践
    本文介绍了Metasploit攻击渗透实践的内容和要求,包括主动攻击、针对浏览器和客户端的攻击,以及成功应用辅助模块的实践过程。其中涉及使用Hydra在不知道密码的情况下攻击metsploit2靶机获取密码,以及攻击浏览器中的tomcat服务的具体步骤。同时还讲解了爆破密码的方法和设置攻击目标主机的相关参数。 ... [详细]
  • 知识图谱——机器大脑中的知识库
    本文介绍了知识图谱在机器大脑中的应用,以及搜索引擎在知识图谱方面的发展。以谷歌知识图谱为例,说明了知识图谱的智能化特点。通过搜索引擎用户可以获取更加智能化的答案,如搜索关键词"Marie Curie",会得到居里夫人的详细信息以及与之相关的历史人物。知识图谱的出现引起了搜索引擎行业的变革,不仅美国的微软必应,中国的百度、搜狗等搜索引擎公司也纷纷推出了自己的知识图谱。 ... [详细]
  • 本文介绍了Oracle数据库中tnsnames.ora文件的作用和配置方法。tnsnames.ora文件在数据库启动过程中会被读取,用于解析LOCAL_LISTENER,并且与侦听无关。文章还提供了配置LOCAL_LISTENER和1522端口的示例,并展示了listener.ora文件的内容。 ... [详细]
  • 本文介绍了Hyperledger Fabric外部链码构建与运行的相关知识,包括在Hyperledger Fabric 2.0版本之前链码构建和运行的困难性,外部构建模式的实现原理以及外部构建和运行API的使用方法。通过本文的介绍,读者可以了解到如何利用外部构建和运行的方式来实现链码的构建和运行,并且不再受限于特定的语言和部署环境。 ... [详细]
  • ZSI.generate.Wsdl2PythonError: unsupported local simpleType restriction ... [详细]
  • 拥抱Android Design Support Library新变化(导航视图、悬浮ActionBar)
    转载请注明明桑AndroidAndroid5.0Loollipop作为Android最重要的版本之一,为我们带来了全新的界面风格和设计语言。看起来很受欢迎࿰ ... [详细]
  • CentOS 6.5安装VMware Tools及共享文件夹显示问题解决方法
    本文介绍了在CentOS 6.5上安装VMware Tools及解决共享文件夹显示问题的方法。包括清空CD/DVD使用的ISO镜像文件、创建挂载目录、改变光驱设备的读写权限等步骤。最后给出了拷贝解压VMware Tools的操作。 ... [详细]
author-avatar
暗罗华怡
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有