Open rocwind opened 5 years ago
This seems like a duplicate of #224. Can you try suggested config and reach back if it works or not?
configurations.all {
exclude group: 'com.facebook.yoga', module: 'yoga'
exclude group: 'com.facebook.litho', module: 'litho-annotations'
}
Thank you for looking into this issue.
By adding exclude group: 'com.facebook.litho', module: 'litho-annotations'
, it still doesn't work, but shows below error message instead:
* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Could not instantiate annotation processor 'com.facebook.litho.specmodels.processor.ComponentsProcessor'
Got the same issue with
Execution failed for task ':adaptiveLitho:compileDebugJavaWithJavac'.
> Could not instantiate annotation processor 'com.facebook.litho.specmodels.processor.ComponentsProcessor'
RN: 0.61.5 Litho: 0.33.0
compiles after comment out the exclusion of infef-annotation but hit with another issue
configurations.all {
exclude group: 'com.facebook.yoga', module: 'yoga'
// exclude group: 'com.facebook.infer.annotation', module: 'infer-annotation'
exclude group: 'com.google.code.findbugs', module: 'jsr305'
}
Version
React Native: 0.60.3 Litho: 0.29.0
Issues and Steps to Reproduce
It prompts below error message that complains conflicts on DoNotStrip