Android热更新与开启Instant Run

/ 0条评论 / 0 个点赞 / 1505人阅读

配置完热更新后,直接run模式运行,程序会报以下错误:

Tinker does not support instant run mode, please trigger build by assembleDebug or disable instant run in 'File->Settings...'.

解决办法就是在File-Settings-Build,Execution,Deployment-Instant run下取消打钩,如下图。

/upload/article/png/520520_20200820173936.png