Error: Could not initialize class com.android.sdklib.repository.AndroidSdkHandler
问题 I've setup the environment for react native on Windows. But when I run the command react-native run-android I get the following errors - * What went wrong: A problem occurred configuring project ':app'. > Failed to notify project evaluation listener. > Could not initialize class com.android.sdklib.repository.AndroidSdkHandler How do I fix this? 回答1: I encountered this error while running the following command in macOS ./gradlew assembleRelease --stacktrace and got the exact error posted. I