Error:Could not initialize class com.android.sdklib.repositoryv2.AndroidSdkHandler

前端 未结 9 3301
太阳男子
太阳男子 2020-12-10 10:35

I want to build this project with Android Studio at launching, but take a error. Stacktrace is here

9条回答
  •  南方客
    南方客 (楼主)
    2020-12-10 11:08

    If the Problem Persists, just import the gradle to Android Studio and build the file inside the Android Studio.

    Android Studio automatically handles gradle and sdk problems. After successful build you can also try running the app via react-native run-android in the Command Prompt. Hope this Helps. This was the only fix that fixed this issue. I tried all the above answers but problem persisted

提交回复
热议问题