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
176
votes
7 answers
Instant run in Android Studio 2.0 (how to turn off)
How to disable Instant Run in Android Studio 2.0 Preview. When I go to the settings I see it:
and I can not remove the tick from "Enable Instant Run..."
I use Android Studio 2.0 Preview 9, but this error was present in Android Studio 2.0 Preview 7…

alex
- 1,845
- 2
- 9
- 12
140
votes
18 answers
Unable to instantiate application com.android.tools.fd.runtime.BootstrapApplication ?Android
I updated my Android Studio to version 2.0. But I had a problem, I don't know why?
The important error info:
Unable to instantiate application com.android.tools.fd.runtime.BootstrapApplication: java.lang.IllegalStateException:…

GeekHades
- 3,028
- 3
- 19
- 15
40
votes
2 answers
Error:Cause: com.android.sdklib.repository.FullRevision
I wanted to try instant-run from AS 2.0 - for this to work I had to update to build-plugin to 2.0.0-alpha1 - but when doing this I cannot gradle-sync the project anymore as I am getting:
Gradle 'SCR' project refresh failed
Error:Cause:…

ligi
- 39,001
- 44
- 144
- 244
29
votes
7 answers
Android studio 2.0 bug:no changes to deploy
I download the latest Android Studio 2.0 from Android Develop Website.
But when I change a line of code and use the "instant run", instead of updating the changes, it prompt me "no changes to deploy".
This will happen on code changes and XML…

Rabbit
- 480
- 5
- 13
22
votes
4 answers
run app vs apply changes android studio 2.3
What is the major difference between
Run app and Apply changes?
What could be the best scenario to use each?
Thanks.

Prabs
- 4,923
- 6
- 38
- 59
19
votes
3 answers
Instant Run or Hot Reloading for Xcode
I am an Android Developer and recently started learning Swift. There is a cool feature in Android studio called Instant Run, that significantly reduce the build and deploy times for incremental code changes during coding.
Introduced in Android…

Milad Faridnia
- 9,113
- 13
- 65
- 78
18
votes
6 answers
Device chooser dialog is not showing up after instant run
In Android studio 2.0 after first app launch on emulator it seems that run process is attached to it. But if I connect device and want to test app, device chooser dialog is not showing up. I tried instant run, simple run, checked configurations…

Ragaisis
- 2,700
- 1
- 26
- 41
11
votes
3 answers
Instant run doesn't work due to "multiple process"
After having configured instant run, the run button has a small yellow thunderbolt.But while I run the app, Android Studio still performed a full build & install, full message is listed in the picture.
I've searched the official documents in…

futureer
- 395
- 4
- 11
10
votes
2 answers
How to prevent Android Studio 2.0 from doing a complete clean build after uninstalling app from device?
I've been using Android Studio 2.0 Beta 5 with Gradle plugin 2.0.0-beta5. I've had Instant Run feature enabled, which is very useful when I want to do a quick change-and-test. Because it usually needs 50 seconds for my project to do a complete…

Zili FENG
- 191
- 11
9
votes
3 answers
Run "Instant Run" from command line
I'm running my Android app from Android Studio, and Instant Run kicks in, which is great. I want to run the exact same thing from the command-line.
In Android Studio's Event Log, I see
22:00:28 Executing tasks:…

espinchi
- 9,144
- 6
- 58
- 65
9
votes
1 answer
Error running Android (written in Kotlin) project compiled with Gradle2.0.0-alpha plugin
When compiling the project with the new gradle2.0.0-alpha pluggin I'm getting.
java.lang.RuntimeException:
Unable to instantiate application com.android.tools.fd.runtime.BootstrapApplication:
java.lang.ClassNotFoundException:
Didn't find…

Samuel Barbosa
- 782
- 7
- 18
8
votes
1 answer
Issue with instant run and Google Maps
There seems to be an issue with instant run and Google Maps. Upon re-running an application to see changes, if the application is using Google Maps, a crash will occur. Here is part of the stack trace:
java.lang.RuntimeException:…

Orbit
- 2,985
- 9
- 49
- 106
7
votes
2 answers
App won't execute on new Android Studio 2.2 with gradle 2.14.1 with Instant Run enabled
I just installed the newer Android Studio 2.2 and I'm in trouble while building my project:
Error:Execution failed for task ':app:processDebugAndroidTestResources'.
java.io.FileNotFoundException:…

svprdga
- 2,171
- 1
- 28
- 51
7
votes
4 answers
Instant Run not working
Precondition
Since I use android studio 2.0 (Release version) I get many inner class erros when compiling my app (those seem to be not relevant, as the app still works fine). When I disable instant run, my app works perfectly fine, if I enable it,…

prom85
- 16,896
- 17
- 122
- 242
6
votes
1 answer
Android Studio 3.1 Instant Run not working
When I updated to Android Studio 3.1, Instant Run features (hot swap, warm swap) stopped working.
Every time when I click on Apply Changes (Instant Run Flash option), Android Studio is restarting my app (even for small UI changes) for every OS…

Varad Mondkar
- 1,441
- 1
- 18
- 29