Open ursnj opened 2 years ago
The same issue
kotlin version needs to update from 1.4 to 1.6
for a quick solution..... open build.gradle file of dependency, increase the ext.kotlin_version from 1.4 to 1.6 , rebuild the project
I have fixed this here : https://www.npmjs.com/package/react-native-bg-upload
@ursnj why create an entirely new npm package forked from this one ? Are you offering to maintain a forked version of this package ?
It's good that you want to help but this doesn't seen correct - better to create a pull request and contact Vydia to push it through.
hi, the newest android version needs 1.6.20
I'm also currently running into the kotlin 1.6.20 requirement issue with the latest Android version.
This PR looks like it would address this issue, allowing users to override the kotlin version with whatever they are using for their main project: https://github.com/Vydia/react-native-background-upload/pull/320. For now I'll likely have to patch the package to use this library, but it'd be awesome to see that PR make it in!
Any update on this? It's really annoying and having to patch the package directly with each Android update is clearly not a viable solution.
Any update on this? It's really annoying and having to patch the package directly with each Android update is clearly not a viable solution.
I am going to check if react-native-blob-util
upload functionality can cover the use case we have (uploading images without obstructing the user), because not fixing such major issue indicates to me that the package is dying.
I'd also need the 1.6.20 please.
Hi Everyone Hope you all are doing well , i just found out the solution . Go to -> node_modules/react-native-background-upload/android/build.gradle Change -> kotlinVersion From 1.6.0 to 1.7.0 Run-> ./gradlew clean in android dir .
Hi Everyone Hope you all are doing well , i just found out the solution . Go to -> node_modules/react-native-background-upload/android/build.gradle Change -> kotlinVersion From 1.6.0 to 1.7.0 Run-> ./gradlew clean in android dir .
It works for me. Thank you.
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':react-native-background-upload:compileDebugKotlin'.
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 27s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 (node:34362) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/tslib/package.json. Update this package.json to use a subpath pattern like "./*". (Use
node --trace-deprecation ...
to show where the warning was created) Note: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/mixpanel-react-native/android/src/main/java/com/mixpanel/reactnative/MixpanelReactNativeModule.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. e: Incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors e: /Users/nj/.gradle/caches/transforms-3/31db24d09bde802dbf019723d3d53572/transformed/jetified-kotlin-stdlib-jdk8-1.6.10.jar!/META-INF/kotlin-stdlib-jdk8.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. e: /Users/nj/.gradle/caches/transforms-3/3b15b56f83a1b827f6848d105be32d7e/transformed/jetified-react-native-0.69.1-debug-api.jar!/META-INF/ReactAndroid_debug.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. e: /Users/nj/.gradle/caches/transforms-3/7022265c2e6278b1b69a2edab8b9c1ec/transformed/jetified-kotlin-stdlib-common-1.6.10.jar!/META-INF/kotlin-stdlib-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. e: /Users/nj/.gradle/caches/transforms-3/de9a0ab7202bd8f5bc5ddb9362438124/transformed/jetified-kotlin-stdlib-jdk7-1.6.10.jar!/META-INF/kotlin-stdlib-jdk7.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. e: /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/GlobalRequestObserverDelegate.kt: (26, 12): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/GlobalRequestObserverDelegate.kt: (29, 5): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/GlobalRequestObserverDelegate.kt: (30, 14): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/GlobalRequestObserverDelegate.kt: (32, 14): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/GlobalRequestObserverDelegate.kt: (35, 5): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/GlobalRequestObserverDelegate.kt: (40, 12): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/GlobalRequestObserverDelegate.kt: (41, 12): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/GlobalRequestObserverDelegate.kt: (43, 5): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/GlobalRequestObserverDelegate.kt: (48, 26): For-loop range must have an 'iterator()' method e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/GlobalRequestObserverDelegate.kt: (49, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/GlobalRequestObserverDelegate.kt: (52, 12): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/GlobalRequestObserverDelegate.kt: (53, 12): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/GlobalRequestObserverDelegate.kt: (54, 12): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/GlobalRequestObserverDelegate.kt: (55, 12): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/GlobalRequestObserverDelegate.kt: (56, 5): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/GlobalRequestObserverDelegate.kt: (63, 19): Not enough information to infer type variable T e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/GlobalRequestObserverDelegate.kt: (63, 60): Unresolved reference: java e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/NotificationActionsReceiver.kt: (24, 7): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/NotificationActionsReceiver.kt: (30, 19): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/NotificationActionsReceiver.kt: (32, 12): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/NotificationActionsReceiver.kt: (33, 5): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/NotificationActionsReceiver.kt: (40, 19): Not enough information to infer type variable T e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/NotificationActionsReceiver.kt: (40, 60): Unresolved reference: java e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (40, 5): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (43, 14): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (44, 7): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (45, 16): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (47, 16): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (48, 16): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (50, 16): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (51, 86): Unresolved reference: toLowerCase e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (52, 16): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (54, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (56, 11): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (58, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (72, 17): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (79, 17): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (86, 17): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (93, 17): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (100, 17): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (107, 17): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (112, 5): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (131, 17): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (135, 17): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (140, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (144, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (147, 5): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (152, 17): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (156, 17): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (161, 18): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (163, 20): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (168, 18): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (171, 7): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (174, 5): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (176, 5): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (179, 7): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (188, 5): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (194, 19): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (198, 19): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (234, 19): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (242, 21): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (254, 21): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (264, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (266, 11): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (268, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (280, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (283, 5): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (284, 21): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (285, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (287, 11): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (289, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (298, 5): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (299, 21): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (300, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (302, 11): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (304, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class e: /Users/nj/Desktop/projects/worklage/conectr/apps/vidyo/node_modules/react-native-background-upload/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt: (317, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. The class is loaded from /Users/nj/.gradle/caches/transforms-3/e816c9095b19dec48b8aa7f4f0e8ad7e/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.classFAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':react-native-background-upload:compileDebugKotlin'.
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 27s
info Run CLI with --verbose flag for more details.