• Register
0 votes
137 views

Problem :

I am facing the below error

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

Above error occurs while using a latest Gradle Plugin & a latest Android SDK.

7 5 2
3,870 points

1 Answer

0 votes

Solution :

I launched the emulator and it was just fine but Android Studio was not able to start a project. It just sat there and waiting for something. Then I closed everything and restarted. I Tried running my project on the emulator again and I got the Error running app: Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled.

I referred to some of many other answers to my error. The Android 2.3.3 settings dialog is the little different than a newest Android Studio.

To fix my problem I went to following path "File -> Settings -> Build, Execution, and then to Deployment -> InstantRun". At a top of a dialog is the check box to "Enable Instant Run to hot swap code/resource changes on deploy. Then I closed and restarted my Android Studio. And opened my project and clicked on run button. My emulator started and a compiled app launched. And the problem got resolved for me.

9 7 4
38,600 points

Related questions

0 votes
1 answer 81 views
81 views
Problem : I have updated my Android Studio to 3.0 but now facing the lot of issues.. So now stopped on the point with below issue: Could not resolve all files for configuration ':applib:_lintClassPath'. > Could not find com.android.tools.lint:lint-gradle:26.1.0-alpha01. ... project :applib I am currently using latest gradle version as: "gradle-4.2.1-all.zip". Does anyone know what my issue can be?
asked Dec 17, 2019 alecxe 7.5k points
0 votes
1 answer 178 views
178 views
Problem : I have installed the Android Studio. Then I have also updated the Android SDK. Now when I try to start Android Studio, below message pops up: “ADB not responding. You can wait more,or kill "adb.exe" process manually and click 'Restart'” A ... Studio. I have to manually kill that program using windows task manager! I am using the windows 7. Can somebody help me on this?
asked Jan 30 jwilliam 3.9k points
0 votes
1 answer 25 views
25 views
Problem : I am new to Android Programming. I have started working on it recently. Now I am facing below error message. Error:Execution failed for task ':app:transformClassesWithDexForDebug'. com.android.build.transform.api.TransformException: com.android.ide.common. ... have added too many Gradle dependencies, but all those dependencies are important for my project. Have anybody faced this issue?
asked Feb 28 mphil 2.3k points
0 votes
2 answers 577 views
577 views
Problem : While I was trying to add the virtual device in my Android Studio, Android Studio is Showing me the following Error. Enable vt-x in your bios security settings (refer to documentation for your computer). Please let me know if anybody has any solution on above error message.
asked Dec 4, 2019 alecxe 7.5k points
0 votes
1 answer 50 views
50 views
Problem : I am getting bellow error while I'm trying to setup an Android dev environment on Mac error:buildtools 24.0.2 requires java 1.8 or above. current jdk version is 1.7.
asked Oct 19, 2019 peterlaw 6.9k points