Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Instant run is missing in Android Studio 3.5

Tags:

android

I want to disable instant run but the menu point is not there. I know where the instant run should be, but it is completely missing. I don't know why. I just upgraded to Android Studio 3.5 but I get an error when using AsyncTask and I know that the problem can be solved when disabling instant run, but I can't.

See the screenshot for better understandingclick

This is my gradle (app)

    apply plugin: 'com.android.application'   android {     compileSdkVersion 29     buildToolsVersion "29.0.0"     defaultConfig {         applicationId "com.project.myapp"         minSdkVersion 21         targetSdkVersion 29         versionCode 13         versionName "1.1"         testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"      }     buildTypes {         debug {              resValue "string", "google_maps_api_key", GoogleMapDebug         }          release {             minifyEnabled true             shrinkResources true             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'           }            }      sourceSets { main { assets.srcDirs = ['src/main/assets', 'src/main/asset/'] } } }  dependencies {     implementation fileTree(dir: 'libs', include: ['*.jar'])     androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {         exclude group: 'com.android.support', module: 'support-annotations'     })      implementation 'com.google.android.material:material:1.0.0'     implementation 'androidx.appcompat:appcompat:1.0.2'     implementation 'com.google.android.gms:play-services-location:12.0.1'     implementation 'com.google.android.gms:play-services-maps:12.0.1'       testImplementation 'junit:junit:4.12' }   apply plugin: 'com.google.gms.google-services' 
like image 457
Blnpwr Avatar asked Aug 22 '19 20:08

Blnpwr


People also ask

Does Android studio still have instant run?

Instant Run is currently available only in Android Studio 2.0, and higher. We will continue to improve the feature in subsequent releases.

What is Android Studio instant run?

Instant Run is a feature of Android Studio designed to significantly accelerate the code, build and run cycle. Using a swapping mechanism, Instant Run is able to push updates to the running application, in many cases without the need to re-install or even restart the app.

Where is instant run in Android Studio arctic fox?

Go to Android Studio Settings or Preferences (for MAC) -> Build,Execution,Deployment -> Instant Run.


2 Answers

They removed Instant Run, replacing it with "Apply Changes". See the release blog post for more about the change. And the docs have more information about the nature of "Apply Changes".

like image 58
CommonsWare Avatar answered Sep 22 '22 09:09

CommonsWare


in version 3.5 it looks like...

like this

like image 39
Kirguduck Avatar answered Sep 18 '22 09:09

Kirguduck