Android Studio 2.3 Update not opening app [Instant Run Service]

后端 未结 2 1770
终归单人心
终归单人心 2021-02-04 08:00

I recently updated the Android Studio to 2.3. When I hit the instant run button, It compiles the app but doesn\'t open the app on the Android device. Even \'Hot Swap\' is not en

相关标签:
2条回答
  • 2021-02-04 08:57

    Got the same error after updating. As already noted, there's an open discussion on this topic. So far, the only work-around is that you actually disable instant run, that's the only thing that worked for me. You can do so in Preferences -> Build, Execution, Deployment -> Instant Run:

    Turn it off and run the app again and it's going to work. That's the best we can do at this point.

    0 讨论(0)
  • 2021-02-04 08:58

    This is a device related bug. There is a google issue discussion:

    https://code.google.com/p/android/issues/detail?id=235879

    They have found some solutions:

    • Asus devices: you have to allow auto-start for apps you want to start with instant run https://www.asus.com/support/faq/1013752

    • Devices with MIUI: you have to disable MIUI optimization (see other answer in stackoverflow) https://stackoverflow.com/a/42579815/1341576

    0 讨论(0)
提交回复
热议问题