android studio 2.3 instant run not working

前端 未结 11 1350
走了就别回头了
走了就别回头了 2020-12-05 17:17

I have updated android studio from 2.2 to 2.3,then I found Instant run not working.

Error while executing: am startservice com.exampl

11条回答
  •  鱼传尺愫
    2020-12-05 17:40

    Found a solution. You have to enable auto-start support for other device manufacturers (example ASUS, LeEco and some others).

    For LeEco -

    1. Install the app with Instant Run. It should fail (If it doesn't, why are you reading this in the first place?)

    2. Go to Settings.

    3. Look for Permissions under Personal.

    4. Choose "You have allowed X apps to autolaunch". Toggle ON.

    5. Done! Instant Run works.

    For ASUS, give that app Auto-Start permission with Auto Start Manager. See here for more information.

    For other devices, please find some similar setting.

    EDIT -

    If you have disabled auto-start in the Purify (or other similar app), please re-enable it.

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

提交回复
热议问题