ajith-ab / react-native-receive-sharing-intent

A React Native plugin that enables React Native apps to receive sharing photos, videos, text, urls or any other file types from another app
MIT License
297 stars 106 forks source link

Failed to notify project evaluation listener. #173

Closed GaetanFauconnier85 closed 1 year ago

GaetanFauconnier85 commented 1 year ago

When I follow the install doc and I launch ./gradlew cleanBuildCache

`> Failed to notify project evaluation listener.

Could not create task ':react-native-receive-sharing-intent:compileDebugAndroidTestKotlin'. Cannot use @TaskAction annotation on method AbstractKotlinCompile.execute() because interface org.gradle.api.tasks.incremental.IncrementalTaskInputs is not a valid parameter to an action method. KotlinJvmAndroidCompilation with name 'debugAndroidTest' not found.`

result of npx react-native info

`System: OS: macOS 13.4.1 CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz Memory: 16.52 MB / 32.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 18.10.0 path: ~/.nvm/versions/node/v18.10.0/bin/node Yarn: Not Found npm: version: 9.8.0 path: ~/.nvm/versions/node/v18.10.0/bin/npm Watchman: version: 2023.07.10.00 path: /usr/local/bin/watchman Managers: CocoaPods: version: 1.12.1 path: /usr/local/bin/pod SDKs: iOS SDK: Platforms:

GaetanFauconnier85 commented 1 year ago

I fix the issue by setting the kotlin version, see https://github.com/ajith-ab/react-native-receive-sharing-intent/issues/148#issuecomment-1218141943