打开设置 -> Build,Execution,Deployment -> Debugger -> HotSwap 选中右面的 Enable hot-swap agent for Groovy code
你直接搜Instant Run是搜不到的,用HotSwap代替了
转自:https://blog.csdn.net/qq_43285892/article/details/123527869
Powered By Z-BlogPHP,Theme By zblog模板