1

I am Unable to disable my Instant Run , and i want to disable it because i am facing different kind of problems with Libraries like SugarORM , Here is what i am doing.

File -> Other Settings -> Default Settings

There is No Instant Run Option There !!!

Settings1

Setting2

Where is instant run , and how can i disable it in MAC/windows

Zulqurnain Jutt
  • 1,083
  • 3
  • 15
  • 41

1 Answers1

2

I had the same exact isuue with SugarORM lib.

here what I did : (I'll give you two ways to achive that one disable for specefic project, and second for whole android studio):

  1. if you want to disable instant-run ONLY for the project that is not compatible (i.e the one with SugarORM lib)

on root of your projct open gradle-->gradle-wrapper.properties then change the value distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip

and on your project build.gradle change the value

classpath 'com.android.tools.build:gradle:2.2.3'

enter image description here

  1. If you want to disable instant-run for all project (Across Android Studio)

in older version of AS settings for instant run is

File -> Other Settings -> Default Settings ->Build, Execution,Deployment

In most recent version of AS, instant run settings is in Preference enter image description here

enter image description here

bastami82
  • 5,955
  • 7
  • 33
  • 44