• Register
0 votes

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

Please log in or register to answer this question.

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 91 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 291 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, 2020 jwilliam 3.9k points
0 votes
1 answer 34 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, 2020 mphil 2.3k points
0 votes
1 answer 61 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
0 votes
2 answers 803 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
1 vote
1 answer 68 views
Problem: I have fundamental knowledge about Android. If I try to run my emulator then I always see below error: "Intel HAXM is required to run this avd /dev/KVM is not found. Enable VT-x in your BIOS security setting, ensure that your Linux distro has working KVM ... it referring to Linux distro in my above error message as I am currently running the windows 7 on my HAXM and the VT supported PC?
asked Jun 2, 2020 Martin K 6.6k points
0 votes
1 answer 15 views
I am finding the script for getting current time in 24 hour format in android.
asked Oct 4, 2020 Daniel Anderson 4k points
0 votes
1 answer 18 views
I need to display multiple images in imageview in Andriod.
asked Sep 28, 2020 Daniel Anderson 4k points
0 votes
1 answer 17 views
We have multiple checkboxes and one button. After selection when i click the button it should display as text which boxes i have selected.
asked Sep 25, 2020 Daniel Anderson 4k points