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)
Similar Posts:
- gradle: failed to find Build Tools revision 23.0.1 [Three Mehods to Solve]
- [Solved] Duplicate class com.blankj.utilcode.BuildConfig found in modules classes.jar
- [Solved] Android Studio Error: Could not initialize class com.android.sdklib.repository.AndroidSdkHandler
- [Solved] Android Studio Error: Could not initialize class com.android.sdklib.repository.AndroidSdkHandler
- AndroidStudio Error:Failed to resolve: com.android.support:appcompat-v7:29
- [Solved] No resource found that matches the given name: attr ‘android:keyboardNavigationCluster’. when updati
- [Solved] No accelerator found – failed to create HAX VM
- How to Solve Failure [INSTALL_FAILED_OLDER_SDK]
- [Solved] Could not find method google() for arguments [] on repository container,rn react-native-camera …
- [Solved] PANIC: Missing emulator engine program for ‘x86’ CPUS.