Studio部署文件时出现错误 ADB enabled
来源:互联网 发布:会计事务所审计软件 编辑:程序博客网 时间:2024/04/30 16:56
今天使用Android Studio,结果在部署项目到模拟器的时候出现了错误:Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled
原因
这个是由于Android Studio2.0新版本中的Instant Run (即时运行)引起的,什么是即时运行呢?
Instant Run in Android Studio 2.0 allows you to quickly make changes to your app code while your app is running on an Android device or Android Emulator. Instead of waiting for your entire app to rebuild and redeploy after each code change, Android Studio 2.0 will try to incrementally build and push only the incremental code or resource change. Depending on the code changes you make, you can see the results of your change in under a second. By simply updating your app to use the latest Gradle plugin ( '
com.android.tools.build:gradle:2.0.0-beta2
’ ), you can take advantage of this time saving features with no other modifications to your code.
它可以快速的更改运行在Android虚拟机中的APP,也就是说在Android虚拟机中的app还在运行的时候,就可以直接改变它的内部代码
开发者可以不用再等待整个应用程序重建以及每次代码更改后重新部署
简单来说就是改了代码后,点击即时运行,模拟器上的应用不需要重启就可以直接呈现出我们修改后的代码效果!
有关即时运行的google官方文档:
http://tools.android.com/tech-docs/instant-run
解决方法
点击工具栏中的Tools,选中Android,最后点击Enable ADB Integration,使其前面出现✔号就OK了
- Studio部署文件时出现错误 ADB enabled
- AndroidStudio部署项目时出现错误:Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled
- AndroidStudio部署项目时出现错误:Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled
- AndroidStudio部署项目时出现错误:Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled
- AndroidStudio部署项目时出现错误:Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled
- AndroidStudio部署项目时出现错误:Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled
- AndroidStudio部署项目时出现错误:Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled
- AndroidStudio部署项目出现错误Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled
- android studio 编译出现Instant Run requires 'tools|Android|Enable adb integration' to be enabled错误解决方式'
- Android Studio 2.0以后出现Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled.
- android studio 中出现 Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled.
- Android Stdio程序在虚拟机运行出现enabled ADB integration to be ebabled错误
- Android Stdio 虚拟机 运行出现enabled ADB integration to be ebabled错误
- 关于android studio 安装app出现Instant run requires 'tools |android| enable adb integration' to be enabled
- android studio使用adb安装apk出现INSTALL_FAILED_DEXOPT错误
- Android studio运行出现错误:IllegalArgumentException: Unable to locate adb
- android studio 启动项目时“Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled”
- adb 运行时出现错误ADB server didn't ACK
- Hibernate中所需要的各jar的作用
- 写给新手程序员的一封信
- Leetcode 389. Find the Difference (Easy) (cpp)
- DFS-PATA-1004. Counting Leaves (30)
- 文章标题
- Studio部署文件时出现错误 ADB enabled
- Resolve VC++ 2015 D8016 Error
- getchar()用法
- 查找组成一个偶数最接近的两个素数
- LightOJ 1092 Lighted Panels 状压DP
- 1305: [CQOI2009]dance跳舞
- strchr用法
- Function类型
- Java基础