MinaSamir11/react-native-in-app-review

:react-native-in-app-review:compileDebugJavaWithJavac

ceconcarlsen opened this issue · 1 comments

When building react-native app

  • What went wrong:
    Execution failed for task ':react-native-in-app-review:compileDebugJavaWithJavac'.

java.io.FileNotFoundException: /node_modules/react-native-in-app-review/android/build/intermediates/annotation_processor_list/debug/annotationProcessors.json (No such file or directory)

"react-native-in-app-review": "^4.3.3",

  • build.gradle
        buildToolsVersion = "33.0.0"
        minSdkVersion = 21
        compileSdkVersion = 33
        targetSdkVersion = 33
        kotlin_version = '1.6.10'

Just found the solution. It was cache related.

Delete /android/.gradle folder and run:

cd android &&./gradlew clean
cd .. && react-native run-android