Various pitfalls of Android Studio: Error running app: Instant Run requires'Tools | Android | Enable ADB integratio

Click the green run button to report an error:

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

The solution is as follows:

Tools->Android->Enable ADB integration

Although it is done!

But sometimes I start the simulator and then run it and find that the simulator cannot be found. Even if I restart ADB in the Device Monitor and see the simulator file directory, sometimes the simulator cannot be found when running the project, which is really cheating. No solution has been found so far, if you find it in the future, you can add it.

Guess you like

Origin blog.csdn.net/kerwinJu/article/details/53054546