AndroidStudio 出现"The app was restarted since it uses multiple processes."

最近再使用 AndroidStudio 的时候,本来已经开启了 InstantRun 的,可是,却提示"Instant Run applied code changes and restarted the app. The app was restarted since it uses multiple processes.",而不能正常使用 InstantRun,让我很困惑,也很"恼怒",怎么可以这样呢,呜呜。然而 Google、百度(其实不想用这个的)之后,并没有类似的结果。直到有一天发现了是百度地图开启了这个 multiple processes,,只要再开发的时候把这个注释掉就可以了。

总结:说到底还是自己学艺不精,关键应该在于android:process=":remote",得抽时间看看相关知识。

你可能感兴趣的:(AndroidStudio 出现"The app was restarted since it uses multiple processes.")