【Android studio】编译没有错误运行时闪退问题

在这里插入图片描述
在网上找了又找,这是能解决我的问题的方法,直接禁用Instant run

1、File -> Settings -> Build,Execution, Deployment -> Instant Run

2、取消勾选 Enable Install Run to hot swap…,点击OK
在这里插入图片描述
3、问题解决
原文链接:
https://www.cnblogs.com/bluestorm/p/10348265.html

发布了13 篇原创文章 · 获赞 0 · 访问量 1019

猜你喜欢

转载自blog.csdn.net/qq_42595835/article/details/98197952