本来想调出MMDS,没想到报出这个错误:

最后发现原来是自己选Android Device Monitor不小心把Enable ADB Integration前面的√去掉了。点击工具栏中的Tools,选中Android,最后点击Enable ADB Integration,使其前面出现✔号就OK了,

原因:

这个是由于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还在运行的时候,就可以直接改变它的内部代码

开发者可以不用再等待整个应用程序重建以及每次代码更改后重新部署

简单来说就是改了代码后,点击即时运行,模拟器上的应用不需要重启就可以直接呈现出我们修改后的代码效果!

最新文章

  1. 10.OC中retainCount返回值不准的原因
  2. .net core 一次坑爹的类库打包过程
  3. Ceph浅析”系列之四——Ceph的结构
  4. SDUT 1400 马的走法(回溯法)
  5. ISD1700系列多段语音录放系列
  6. Json数据格式事例查看
  7. c#winform使用WebBrowser 大全[超长文转载]
  8. 一个JS版本的MD5
  9. bzoj4028
  10. HJA的异或值
  11. The Hitchhiker’s Guide to Python! — The Hitchhiker's Guide to Python
  12. JavaScript 你好!
  13. Django写的投票系统4(转)
  14. TFS:TF30042 数据库已满 处理方法
  15. java class加载机制及对象生成机制
  16. python进程和线程(六)
  17. android 权限库EasyPermissions
  18. Winform 窗体获得焦点
  19. 爬取qq音乐巅峰榜---内地音乐的榜单
  20. 基于KMP算法的字符串模式匹配问题

热门文章

  1. [蓝桥杯][2016年第七届真题]路径之谜(dfs)
  2. iphone手机拍照学习笔记
  3. Java 数组实现堆栈操作
  4. oracle mybatis批量插入,无匹配找默认
  5. DB2 锁问题的监控和解决
  6. 在Eclipse或工作空间中 ,复制或修改项目后,把项目部署后发现还是原来的项目名称
  7. Emacs as a Python IDE(转)
  8. ES6基本语法之let和const
  9. JVM Run-Time Data Areas--reference
  10. 使用rem单位的问题——Google下字体很大