AndroidStudio 出现"The app wa

2016-08-15  本文已影响1303人  ysnows
最近再使用 AndroidStudio 的时候,本来已经开启了 InstantRun 的,可是,却提示"Instant Run applied code changes and restarted the app. The app was restarted since it uses multiple processes.",而不能正常使用 InstantRun,让我很困惑,也很"恼怒",怎么可以这样呢,呜呜。然而 Google、百度(其实不想用这个的)之后,并没有类似的结果。直到有一天发现了是百度地图开启了这个 multiple processes,<service android:name="com.baidu.location.f" android:enabled="true" android:process=":remote"></service>,只要再开发的时候把这个注释掉就可以了。

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

上一篇 下一篇

猜你喜欢

热点阅读