Problem: After the Gradle build is successful, the simulator fails to start. The specific performance is
1.Waiting for target device to come online
2.Timed out after 300seconds waiting for emulator to come online
solution:
1. Double check whether your Emulator is the latest version (SDK Manager–>SDK Tools–>Android Emulator) and update it to the latest version.
2. There is no problem with the above 1, double check whether the version of the emulator created by yourself complies with the “compileSdkVersion”, “buildToolsVersion” and other versions in gradle.
3. If there are no problems with 1 and 2 above, consider replacing an SDK, and then double check 1 and 2. (Works for me)