Using Instant Run results in "Session app: Error while Installing APKs"
Asked Answered
A

2

0

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.

Achates answered 31/3, 2018 at 19:7 Comment(5)
Check this answer: https://mcmap.net/q/103850/-android-studio-3-1-run-command-does-not-rebuild-the-apk-duplicateLittleton
@0xalihn I already have the Gradle-aware Make option added.Achates
Can you just disable instant run and then check either it works or not?Littleton
I know it works on disabling Instant Run. But I don't want to. I have already mentioned that in the question.Achates
Check my answer below.Littleton
L
0

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.

enter image description here

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

Littleton answered 2/4, 2018 at 6:6 Comment(0)
J
0

See the image

  1. Click on Gradle (Right Side in Android Studio)
  2. Click Refresh
  3. Try Re-running the project.
Jitters answered 6/5, 2018 at 5:56 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.