no changes to deploy android studio 2.1

我只是一个虾纸丫 提交于 2019-11-26 10:47:22
Amit Vaghela

Upgrade Android studio version to 3 or more. this bug is resolved.

This was a bug on version 2.0 instant run and issues were reported check these links

https://code.google.com/p/android/issues/detail?id=199884 https://code.google.com/p/android/issues/detail?id=195062 https://code.google.com/p/android/issues/detail?id=206698 https://code.google.com/p/android/issues/detail?id=209413 https://code.google.com/p/android/issues/detail?id=206627

thing to do would be to disable Instant Run entirely by

Settings > Build, Execution, Deployment > Instant Run > Enable Instant Run

You can file a bug at this link: Google Issue Tracker

please check this answer https://stackoverflow.com/a/35169716/2826147 to turn it off.

Thats a bug in Android Studio, I noticed it in build 2.0 sometimes it failed to update, so what i do is I rebuild the entire project, one more thing, if you have multidex enabled and your device is not running 5 <it will not work, make sure its disabled and rebuild your project.

ugur

I have just noticed that whenever i closed my app and then run it worked. See my post here. https://stackoverflow.com/a/37357665/5923606

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!