Reputation: 217
When click the instant run,appear below tips:
you currently have an active Run session of the same launch configuration,do you want to kill the session and proceed with the current launch
Anyone else can solve the issue? thanks!
Upvotes: 21
Views: 3379
Reputation: 217
After several attempts at testing, I finally found a solution. As long as the screen remains on, this message will never appear.
you currently have an active Run session of the same launch configuration,do you want to kill the session and proceed with the current launch
Upvotes: -2
Reputation: 11
Just got a same problem,and fixed by these simple step:
1.Go to 'run/debug configurations' remove your android application configuration
2.Recreate an android application configuration
3.Go to miscellaneous tab, unchek 'force stop running application before launching activity'
and it should be work :D
Upvotes: 1
Reputation: 1946
It might be because you updated your Android Studio Canary build without updating Gradle. You should probably update the gradle plugin. Even I had the same problem updating gradle plugin brought back the "Instant Run" feature.
To update the gradle plugin
Upvotes: 5