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
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.
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.
Instant Run is currently available only in Android Studio 2.0, and higher. We will continue to improve the feature in subsequent releases.
Enable your ADB Integration. Go to Tools --> Android --> set checked in Enable ADB Integration
Go to -- app-->Edit Configurations-->Launch options In Launch select --> Specified Activity apply then press ok button.
now you may run the program
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With