Android Studio sets up new projects to deploy to the Emulator or a physical device with just a few clicks. With Instant Run, you can push changes to methods and existing app resources to a running app without building a new APK, so code changes are visible almost instantly.
Questions tagged [instant-run]
53 questions
2
votes
1 answer
Why is Android Instant Run recompiling almost every time?
I'm giving Android Instant Run a test run. For testing, I just added the following line to the onResume() of my Activity:
Toast.makeText(this, "test123", Toast.LENGTH_SHORT).show();
Now, when I change the text of the toast and rebuild, it will tell…

treesAreEverywhere
- 3,722
- 4
- 28
- 51
2
votes
3 answers
Android Studio 2.0 Instant Run Not Working
This new feature, Instant Run, is not working always as described.
I just modify a paint color in text and Instant Run, it restarts activity! But after modifying some other code, Instant Run works pretty well.
Am I missing something?

AVEbrahimi
- 17,993
- 23
- 107
- 210
1
vote
0 answers
Instant run does not work with the android studio 3.3 update
So far I have used instant run without any problem in a Nexus 5 with android 7.
Yesterday I updated Android Studio to stable version 3.3
Since then, Instant Run does not work, I always get the following warning:
Selecting the option to uninstall…

Sergio76
- 3,835
- 16
- 61
- 88
1
vote
2 answers
Not able to disable Instant Run feature in Android Studio
Android Studio Version: 3.1.2
I am not able to disable the instant run checkbox in the android studio.
Tried to disable from the below path
File → Settings → Build, Execution, Deployment → Instant Run and uncheck Enable Instant Run( the checkbox is…

DDM
- 113
- 1
- 17
1
vote
0 answers
Android: Instant Run allowing invalid program to run (missing "public" in onClick handler)
(I'm a new Android developer so possibly my terminology will be wrong.)
Android Studio 2.3.1
Targeting API 22
I seem to have a program with an error that Instant Run will allow, but that crashes when run from a built apk that is installed from, for…

Don Porges
- 11
- 2
1
vote
2 answers
Android Studio 2.2.3 Instant Run is not an Option
I have a new install of Android Studio and I'm starting my first project. I was looking for ways to speed up my deploy/test development cycle when I read that I already should have the Instant Run feature enabled.
I double checked a few…

IcedDante
- 6,145
- 12
- 57
- 100
1
vote
0 answers
Instant Run seem to be randomly not working
I have Android Studio 2.1.2, with Instant Run enabled.
Almost the time, Instant Run works and updates my application when I hit Run (or Shift+F10). But sometime, randomly, Instant Run does not work (I'm still running the application, and see the…

Hoai Dam
- 658
- 2
- 7
- 13
1
vote
1 answer
Android layout subfolder and Instant run not working together
I configured my gradle project to read layout files from subfolders, but this makes Instant Run stop working.
The only way to see the changes is manually uninstalling the app and reinstalling it.
EDIT: is this bug. Is there any workaround for this?

Matias Elorriaga
- 8,880
- 5
- 40
- 58
1
vote
1 answer
random "no executable code found on line" while debugging in android studio when using "instant run"
So I m using latest android studio 2.1 beta 2 , tried almost everything, now even I use minSDK 22 and targetSDK 23 and still I have random problems with instant run.
Any workarounds ?
Am I only one with this ?
I did not find any bug report or…

Renetik
- 5,887
- 1
- 47
- 66
1
vote
2 answers
Android Studio Instant Run not working
I am trying to get Instant Run to work in Android Studio. I have A.S. 2.0 Preview 4 installed, and my Instant Run is enabled like this:
Now, I am experimenting with this in the Topeka sample app from Google…

IgorGanapolsky
- 26,189
- 23
- 116
- 147
0
votes
1 answer
Enable instant run shortcut for build flavor
I have a specific build flavor that works with Instant Run. I want to be able to toggle Instant Run with a shortcut. Is this possible?

Jim Clermonts
- 1,694
- 8
- 39
- 94
0
votes
1 answer
Firebase DatabaseException when not using Instant Run in Android Studio
My app works fine when I use Instant Run, however, when I try to either debug it or not use instant run, it gives me this in Logcat:
04-24 22:16:15.864 22359-22359/com.clairvoyance.bookmarket E/AndroidRuntime: FATAL EXCEPTION: main
Process:…
0
votes
2 answers
Using Instant Run results in "Session app: Error while Installing APKs"
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.

fsljfke
- 431
- 6
- 14
0
votes
1 answer
why can't I use my android studio 2.3 Instant run features?
My AS is 2.3 official version
and I already open the Instan run on the settings
but it can't use,and the lightning symbol is always not light,just like this
I don't why this is,who has other ideas?

Json zhang
- 119
- 14
0
votes
1 answer
Firebase android query performance issue
I have filtered query, which returns about 220 items with 8 fields each without child nodes. It's not tiny portion of data, but definately not the large one.
On the pic below the following happens:
Sec 25 - user click to load data, eventListener…

Aleksey
- 31
- 6