Android Studio最近发布的2.3版本,由于这个版本改进后的Instant Run功能和很多国内ROM存在兼容问题,所以导致不得不做一些妥协策略,具体在小米Rom上,就是把小米rom的调试定制优化功能关闭掉:
In case you are running a device with MIUI, go to Developer Settings > Turn on MIUI optimization and turn it off.
You will then need to restart your device and recompile the code.
Instant Run should then work again
http://stackoverflow.com/questions/42571175/android-studio-2-3-instant-run-not-working
本文介绍了解决Android Studio 2.3版本中Instant Run功能在小米ROM上遇到的兼容性问题的方法。具体步骤包括在开发者设置中关闭MIUI优化,并重启设备重新编译代码。
4541

被折叠的 条评论
为什么被折叠?



