Using Instant Run results in “Session app: Error w

2020-05-09 14:53发布

问题:

I already tried:

Turning off Instant Run -> Clean Build -> Turning on Again -> Run as mentioned here.

But cannot get it to work. I want to use Instant Run and hence don't want to disable it. Please help me find out why this is happening.

回答1:

Go to Run -> Edit configurations. And then make sure you have Instant App Provision enable in addition with Gradle-aware Make option like below screenshot.

If not then click + and select from the list options.



回答2:

  1. Click on Gradle (Right Side in Android Studio)
  2. Click Refresh
  3. Try Re-running the project.