Questions tagged [instant-run]

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.

53 questions
0
votes
1 answer

Issue with Instant run when applicationId updated

I have updated my applicationId with a flavor by adding .fb It was not needed so I removed the applicationIdSuffix ".fb"in the flavor. Since this update I'm not able to use instant run, I got an exception when trying to launch my app: 02-16…
Chol
  • 2,097
  • 2
  • 16
  • 26
0
votes
0 answers

Error running app: This version of Android Studio is incompatible with the Gradle Plugin used

I'm working with multiple projects provided from a Git repo and none of them work without disabling the instant run or changing the Gradle plugin. I get the following error: Error running app: This version of Android Studio is incompatible with the…
John Snow
  • 1,898
  • 2
  • 27
  • 48
0
votes
1 answer

How to disable Instant Run rebuild for a specific module?

I am using Card.io as a module within my app. I have some slight modifications, that is why I have it as a module. The problem is that having this module dependency causes Instant Run to make Cold Swap every time the project changes. The moment I…
NMP
  • 490
  • 1
  • 5
  • 17
0
votes
1 answer

What is instant-run file on Android?

When I run the app in Android Studio and I see all app's files (fileList()) there is instant-run file. What is this file?? I delete it and nothing changes.
0
votes
0 answers

Update gradle from 1.3 to 2.1.0 and get error

In order to use InstantRun, I update the gradle from 1.3.1 to classpath 'com.android.tools.build:gradle:2.1.0-rc1' and get this error Error:Access to the dex task is now impossible, starting with 1.4.0 1.4.0 introduces a new Transform API allowing…
Allen Vork
  • 1,536
  • 3
  • 16
  • 29
0
votes
1 answer

In Android Studio I can't seem to run my app on two devices simultaneously

I have two phones connected to my computer, via USB. I run my Android app from Android Studio on one of the phones. Then I want to run the same app, same version, on the other phone. But it doesn't start on the other phone, I don't get the popup to…
Christine
  • 5,617
  • 4
  • 38
  • 61
0
votes
1 answer

Instant run, targetSdkVersion > 20 and changes to AndroidManifes.xml: full build almost everytime

My project uses (in the gradle file) defaultConfig { applicationId "xx.xxx.xxxxx" versionCode code versionName "1.1.0" minSdkVersion 15 targetSdkVersion 22 } but the new Android Studio 2.0 IDE, perform a slow and full build…
Seraphim's
  • 12,559
  • 20
  • 88
  • 129
0
votes
1 answer

Android studio instant-run not work well

I use the Android studio 2.0, and configure the project with the official doc , the config of instant run in the setting window of AS has changed from disabled to enabled state. As well the run icon has lightning now,but when i change the code, just…
dreamtale
  • 2,905
  • 1
  • 26
  • 38
1 2 3
4