解决方法
1、打开studio的setting 然后Preferences -> Build, Execution, Deployment -> Instant Run ->将 Enable Instant Run的勾去掉
2、检查你的自定义Application是不是将构造器设置成了private,将private修改为public
解决方法
1、打开studio的setting 然后Preferences -> Build, Execution, Deployment -> Instant Run ->将 Enable Instant Run的勾去掉
2、检查你的自定义Application是不是将构造器设置成了private,将private修改为public