Android Studio Could not initialize class org.codehaus.groovy.runtime.InvokerHelper

后端 未结 16 1332
一整个雨季
一整个雨季 2020-12-02 11:29

I am new in Android Studio. After setup, When I am trying to import an application I am getting that error So that gradle not able to build.

Error:Could not

16条回答
  •  死守一世寂寞
    2020-12-02 12:14

    The problem in my case was in the discrepancy between the Gradle version installed globally and the one required by React Native. To fix it, I had to update the folder android/gradle/wrapper from the current 6.5 RN version from GH.

提交回复
热议问题