Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error running app: Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled.

If the "Error running app: Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled." issue occurs while using the latest Gradle Plugin & Latest Android SDK. You can use the below solution as mentioned in the screenshot

enter image description here

In your gradle file just enable 3 options as per the diagram (default always all options will be enabled).

This solution weirdly worked for me. I don't know it is studio issue or something else with Gradle plugin. But Some one have better solution or exact solution please share across.

like image 845
Takermania Avatar asked Jun 09 '16 06:06

Takermania


People also ask

How do I uncheck ADB integration?

Enable ADB Integration is removed from 3. + versions. It gets active automatically. Still if you want to reset-set it, you can check Preferences->Build,Execution,Deployment -> Debugger -> Use libusb backend(check/uncheck) it.

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.


2 Answers

Enable your ADB Integration. Go to Tools --> Android --> set checked in Enable ADB Integration

Refer screen shot

like image 182
Naveen Kumar M Avatar answered Sep 21 '22 03:09

Naveen Kumar M


Go to -- app-->Edit Configurations-->Launch options In Launch select --> Specified Activity apply then press ok button.

now you may run the program

like image 43
Rajalakshmi Avatar answered Sep 21 '22 03:09

Rajalakshmi