maxs15 / react-native-spinkit

A collection of animated loading indicators for React Native
MIT License
2.36k stars 300 forks source link

Execution failed for task ':react-native-spinkit:compileDebugJavaWithJavac'. #131

Open Base29 opened 4 years ago

Base29 commented 4 years ago

Hello guys I am getting this error while compiling on android

Execution failed for task ':react-native-spinkit:compileDebugJavaWithJavac'.

react-native version = 0.59.10 package version = 1.5.0

Any idea how to resolve this ?

Base29 commented 4 years ago

It would be really helpful if the developer could reply ... I am really stuck here not sure what to do ...

Base29 commented 4 years ago

is the support active for this package or it is abandoned ??

Andrea-Arguello commented 4 years ago

I am having this issue too. It seems to be a problem of the developer using androidx. I have tried adding android.useAndroidX=true to my gradle.properties to no avail. Adding android.enableJetifier=true makes a lot of other libraries crash.

Andrea-Arguello commented 4 years ago

For a little more detail, all problems arose in the RNSpinkit.java file, and it seems to be an error with the symbol Nullable.

Andrea-Arguello commented 4 years ago

@Base29 If I'm correct, the latest version of this library is supposed to support React Native 0.60.4. Are you using this version of React Native? I for one am on RN 0.59, which might be what causes the issue.

If possible, I'd suggest you update React Native. Else, use a previous commit of this repository.

ahmedjaafar6 commented 4 years ago

ya I'm having the same issue