This error came up when run react-native run-android.
I have already setup environment variables.
ANDROID_HOME C:\Users\username\AppData\Local\Android\Sdk
I tried creating local.properties
file in in myapp/android
with the content of this, sdk.dir = C:/Users/ivani/AppData/Local/Android/Sdk
.
This error came up.
Failed to notify project evaluation listener. Could not initialize class com.android.sdklib.repository.AndroidSdkHandler