一.错误类型:com.android.tools.fd.runtime.BootstrapApplication cannot be cast to成功修改方式File --> Settings--> Build,Execution,Deployment -->Instant Run ---> 去掉勾选  开头为"Enable instant run.......
转载 2024-07-12 11:05:31
206阅读
问题引出android studio 3.0之后的instant run和2.0有了一些变化,其中一个变化便是2.0的时候需要生成一个BootStrapApplication,在其中执行一些classloader的初始化和委托工作等等(具体我就不展开了,这篇文章写的不错深入理解Android Instant Run运行机制),但是3.0之后去掉了, 多了一个InstantRunContentPro