React Native WebView提供了React-Native-Webview:CompileDeBugkotlin失败
btroot@btroot-inspiron-3647:〜/backup/rampraveen/react-native/persiviment/process/process/newpaypal/paypal/paypal $ react-native-nartive runative and-android 信息运行的喷射器将库迁移到Androidx。您可以使用“ -no-Jetifier”标志禁用它。 喷射器找到了967个文件以向前喷射。使用4个工人... 信息JS服务器已经在运行。 信息安装应用...
任务:react-native-webview:compiledebugkotlin失败
在此构建中使用了失败的不弃用的Gradle功能,使其与Gradle 8.0不兼容。
您可以使用“全部” - “全部模式”来显示单个折旧警告,并确定它们是否来自您自己的脚本或插件。
参见 https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings 32个可操作的任务:执行2个,30个最新的 E:在依赖项中发现了不兼容的类别。将它们从classpath中删除或使用'-xskip-metadata-version-check'来抑制错误 e:/home/btroot/.gradle/caches/transforms-3/5d5c005847cf8de157171717171717171717b495cdeb2994/transformed/transformed/jetified-kotified-kotlin-kotlin-stdlib-jdk7-jdk7-jdk7-1.6.6.6.6.10.jar!/用不兼容的Kotlin编译。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 e: /home/btroot/.gradle/caches/transforms-3/9eb741457c5f4bb9aab62f33b4784f6e/transformed/jetified-react-native-0.69.1-debug-api.jar!/META-INF/ReactAndroid_debug.kotlin_module: Module was用不兼容的Kotlin编译。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 e:/home/btroot/.gradle/caches/transforms-3/b4bd8b2d8b84f89e1b1eb3315da16eb4/transformed/jetified-jetified-kotlin-kotlin-kotlin-stdlib-1.6.6.6.6.6.jar! jar!/科特林。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 e:/home/btroot/.gradle/caches/transforms-3/f9029077105EE094CB6660A998BC51080/transformed/jetified-kotified-kotlin-kotlin-stdlib-jdk8-1.6.6.6.6.10.jar!/带有不兼容的Kotlin版本。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 e:/home/btroot/.gradle/caches/transforms-3/fef35b89e5e15dc545454545425cdee6369ba0/transformed/jetified-kotified-kotlin-kotlin-kotlin-stdlib-common-common-common-common-1.6.6.6.jar!/与Kotlin的不兼容版本。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewPackage.kt: ( 8,77):未解决的参考:列表 e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewPackage.kt: ( 12,76):未解决的参考:列表 e:/home/btroot/backup/rampraveen/react-native/experiment/newpaypal/paypal/paypal/node_modules/react-native-webview/reaect-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-nativ,- :(23, 21):“ kotlin.unit”类是与Kotlin不兼容的版本编辑的。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 该课程从/HOME/BTROOT/.gradle/caches/transforms-3/b4bd8b2d844f89e1b1eb3315da16eb4/transformed/jetified-jetified-kotified-kotlin-kotlin-kotlin-stddlib-1.6.6.6.6.6.10.jar! e:/home/btroot/backup/rampraveen/react-native/experiment/newpaypal/paypal/paypal/node_modules/react-native-webview/reaect-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-nativ, :(23,21): “ kotlin.unit”类是与Kotlin不兼容的版本编辑的。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 该课程从/HOME/BTROOT/.gradle/caches/transforms-3/b4bd8b2d844f89e1b1eb3315da16eb4/transformed/jetified-jetified-kotified-kotlin-kotlin-kotlin-stddlib-1.6.6.6.6.6.10.jar! e:/home/btroot/backup/rampraveen/react-native/experiment/newpaypal/newpaypal/paypal/node_modules/react-native-webview/reaect-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-nativ,- :(23, 21):“ kotlin.unit”类是与Kotlin不兼容的版本编辑的。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 该课程从/HOME/BTROOT/.gradle/caches/transforms-3/b4bd8b2d844f89e1b1eb3315da16eb4/transformed/jetified-jetified-kotified-kotlin-kotlin-kotlin-stddlib-1.6.6.6.6.6.10.jar! e:/home/btroot/backup/rampraveen/react-native/experiment/newpaypal/paypal/paypal/node_modules/react-native-webview/react-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-nativ, :(23, 21):“ kotlin.unit”类是与Kotlin不兼容的版本编辑的。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 该课程从/HOME/BTROOT/.gradle/caches/transforms-3/b4bd8b2d844f89e1b1eb3315da16eb4/transformed/jetified-jetified-kotified-kotlin-kotlin-kotlin-stddlib-1.6.6.6.6.6.10.jar! e:/home/btroot/backup/rampraveen/react-native/experiment/process/newpaypal/paypal/paypal/node_modules/react-native-webview/reaect-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-nativ, :(23,21): “ kotlin.unit”类是与Kotlin不兼容的版本编辑的。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 该课程从/HOME/BTROOT/.gradle/caches/transforms-3/b4bd8b2d844f89e1b1eb3315da16eb4/transformed/jetified-jetified-kotified-kotlin-kotlin-kotlin-stddlib-1.6.6.6.6.6.10.jar! e:/home/btroot/backup/rampraveen/react-native/experiment/process/newpaypal/paypal/paypal/node_modules/react-native-webview/reaect-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-nativ, :(22,21):班级“ kotlin.unit”与Kotlin的不兼容版本编辑。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 该课程从/HOME/BTROOT/.gradle/caches/transforms-3/b4bd8b2d844f89e1b1eb3315da16eb4/transformed/jetified-jetified-kotified-kotlin-kotlin-kotlin-stddlib-1.6.6.6.6.6.10.jar! e:/home/btroot/backup/rampraveen/react-native/experiment/newpaypal/newpaypal/paypal/node_modules/react-native-webview/react-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-nativ,- :(24, 21):“ kotlin.unit”类是与Kotlin不兼容的版本编辑的。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 该课程从/HOME/BTROOT/.gradle/caches/transforms-3/b4bd8b2d844f89e1b1eb3315da16eb4/transformed/jetified-jetified-kotified-kotlin-kotlin-kotlin-stddlib-1.6.6.6.6.6.10.jar! e:/home/btroot/backup/rampraveen/react-native/experiment/newpaypal/paypal/paypal/node_modules/react-native-webview/react-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-webvie- : (16,11):“ kotlin.unit”类的编辑中是不兼容的科特林版本。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 该课程从/HOME/BTROOT/.gradle/caches/transforms-3/b4bd8b2d844f89e1b1eb3315da16eb4/transformed/jetified-jetified-kotified-kotlin-kotlin-kotlin-stddlib-1.6.6.6.6.6.10.jar! e:/home/btroot/backup/rampraveen/react-native/experiment/newpaypal/paypal/paypal/node_modules/react-native-webview/react-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-webvie- : (18,11):“ kotlin.unit”类的编译为不兼容的Kotlin版本。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 该课程从/HOME/BTROOT/.gradle/caches/transforms-3/b4bd8b2d844f89e1b1eb3315da16eb4/transformed/jetified-jetified-kotified-kotlin-kotlin-kotlin-stddlib-1.6.6.6.6.6.10.jar! e:/home/btroot/backup/rampraveen/react-native/experiment/newpaypal/paypal/paypal/node_modules/react-native-webview/react-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-webvie- : (28,21):“ kotlin.unit”类的编辑中是不兼容的科特林版本。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 该类是从/HOME/BTROOT/.gradle/caches/transforms-3/b4bd8b2d84f84f89e1b1eb3315da16eb4/transformed/transformed/jetified-kotified-kotified-kotlin-kotlin-stddlib-1.6.6.6.6.10.jar!/kotass
失败。
- 出了什么问题: 执行失败的任务':react-native-webview:compiledebugkotlin'。
编译误差。有关更多详细信息,请参见日志
- Try:
使用-stacktrace选项运行以获取堆栈跟踪。 使用-Info或 - debug选项运行,以获取更多日志输出。 运行 - 扫描以获得完整的见解。
- “ https://help.gradle.org”中获得更多帮助
在
。 Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup 。 错误:命令失败:./gradlew app:installdebug -preactnativedevserverport = 8081 E:在依赖项中发现了不兼容的类别。将它们从classpath中删除或使用'-xskip-metadata-version-check'来抑制错误 e:/home/btroot/.gradle/caches/transforms-3/5d5c005847cf8de157171717171717171717b495cdeb2994/transformed/transformed/jetified-kotified-kotlin-kotlin-stdlib-jdk7-jdk7-jdk7-1.6.6.6.6.10.jar!/用不兼容的Kotlin编译。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 e: /home/btroot/.gradle/caches/transforms-3/9eb741457c5f4bb9aab62f33b4784f6e/transformed/jetified-react-native-0.69.1-debug-api.jar!/META-INF/ReactAndroid_debug.kotlin_module: Module was用不兼容的Kotlin编译。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 e:/home/btroot/.gradle/caches/transforms-3/b4bd8b2d8b84f89e1b1eb3315da16eb4/transformed/jetified-jetified-kotlin-kotlin-kotlin-stdlib-1.6.6.6.6.6.jar! jar!/科特林。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 e:/home/btroot/.gradle/caches/transforms-3/f9029077105EE094CB6660A998BC51080/transformed/jetified-kotified-kotlin-kotlin-stdlib-jdk8-1.6.6.6.6.10.jar!/带有不兼容的Kotlin版本。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 e:/home/btroot/.gradle/caches/transforms-3/fef35b89e5e15dc545454545425cdee6369ba0/transformed/jetified-kotified-kotlin-kotlin-kotlin-stdlib-common-common-common-common-1.6.6.6.jar!/与Kotlin的不兼容版本。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewPackage.kt: ( 8,77):未解决的参考:列表 e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewPackage.kt: ( 12,76):未解决的参考:列表 e:/home/btroot/backup/rampraveen/react-native/experiment/newpaypal/paypal/paypal/node_modules/react-native-webview/reaect-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-nativ,- :(23, 21):“ kotlin.unit”类是与Kotlin不兼容的版本编辑的。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 该课程从/HOME/BTROOT/.gradle/caches/transforms-3/b4bd8b2d844f89e1b1eb3315da16eb4/transformed/jetified-jetified-kotified-kotlin-kotlin-kotlin-stddlib-1.6.6.6.6.6.10.jar! e:/home/btroot/backup/rampraveen/react-native/experiment/newpaypal/paypal/paypal/node_modules/react-native-webview/reaect-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-nativ, :(23,21): “ kotlin.unit”类是与Kotlin不兼容的版本编辑的。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 该课程从/HOME/BTROOT/.gradle/caches/transforms-3/b4bd8b2d844f89e1b1eb3315da16eb4/transformed/jetified-jetified-kotified-kotlin-kotlin-kotlin-stddlib-1.6.6.6.6.6.10.jar! e:/home/btroot/backup/rampraveen/react-native/experiment/newpaypal/newpaypal/paypal/node_modules/react-native-webview/reaect-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-nativ,- :(23, 21):“ kotlin.unit”类是与Kotlin不兼容的版本编辑的。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 该课程从/HOME/BTROOT/.gradle/caches/transforms-3/b4bd8b2d844f89e1b1eb3315da16eb4/transformed/jetified-jetified-kotified-kotlin-kotlin-kotlin-stddlib-1.6.6.6.6.6.10.jar! e:/home/btroot/backup/rampraveen/react-native/experiment/newpaypal/paypal/paypal/node_modules/react-native-webview/react-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-nativ, :(23, 21):“ kotlin.unit”类是与Kotlin不兼容的版本编辑的。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 该课程从/HOME/BTROOT/.gradle/caches/transforms-3/b4bd8b2d844f89e1b1eb3315da16eb4/transformed/jetified-jetified-kotified-kotlin-kotlin-kotlin-stddlib-1.6.6.6.6.6.10.jar! e:/home/btroot/backup/rampraveen/react-native/experiment/process/newpaypal/paypal/paypal/node_modules/react-native-webview/reaect-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-nativ, :(23,21): “ kotlin.unit”类是与Kotlin不兼容的版本编辑的。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 该课程从/HOME/BTROOT/.gradle/caches/transforms-3/b4bd8b2d844f89e1b1eb3315da16eb4/transformed/jetified-jetified-kotified-kotlin-kotlin-kotlin-stddlib-1.6.6.6.6.6.10.jar! e:/home/btroot/backup/rampraveen/react-native/experiment/process/newpaypal/paypal/paypal/node_modules/react-native-webview/reaect-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-nativ, :(22,21):班级“ kotlin.unit”与Kotlin的不兼容版本编辑。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 该课程从/HOME/BTROOT/.gradle/caches/transforms-3/b4bd8b2d844f89e1b1eb3315da16eb4/transformed/jetified-jetified-kotified-kotlin-kotlin-kotlin-stddlib-1.6.6.6.6.6.10.jar! e:/home/btroot/backup/rampraveen/react-native/experiment/newpaypal/newpaypal/paypal/node_modules/react-native-webview/react-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-nativ,- :(24, 21):“ kotlin.unit”类是与Kotlin不兼容的版本编辑的。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 该课程从/HOME/BTROOT/.gradle/caches/transforms-3/b4bd8b2d844f89e1b1eb3315da16eb4/transformed/jetified-jetified-kotified-kotlin-kotlin-kotlin-stddlib-1.6.6.6.6.6.10.jar! e:/home/btroot/backup/rampraveen/react-native/experiment/newpaypal/paypal/paypal/node_modules/react-native-webview/react-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-webvie- : (16,11):“ kotlin.unit”类的编辑中是不兼容的科特林版本。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 该课程从/HOME/BTROOT/.gradle/caches/transforms-3/b4bd8b2d844f89e1b1eb3315da16eb4/transformed/jetified-jetified-kotified-kotlin-kotlin-kotlin-stddlib-1.6.6.6.6.6.10.jar! e:/home/btroot/backup/rampraveen/react-native/experiment/newpaypal/paypal/paypal/node_modules/react-native-webview/react-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-webvie- : (18,11):“ kotlin.unit”类的编译为不兼容的Kotlin版本。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 该课程从/HOME/BTROOT/.gradle/caches/transforms-3/b4bd8b2d844f89e1b1eb3315da16eb4/transformed/jetified-jetified-kotified-kotlin-kotlin-kotlin-stddlib-1.6.6.6.6.6.10.jar! e:/home/btroot/backup/rampraveen/react-native/experiment/newpaypal/paypal/paypal/node_modules/react-native-webview/react-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-native-webvie- : (28,21):“ kotlin.unit”类的编辑中是不兼容的科特林版本。其元数据的二进制版本为1.6.0,预期版本为1.1.15。 该类是从/HOME/BTROOT/.gradle/caches/transforms-3/b4bd8b2d84f84f89e1b1eb3315da16eb4/transformed/transformed/jetified-kotified-kotified-kotlin-kotlin-stddlib-1.6.6.6.6.10.jar!/kotass
失败。
- 出了什么问题: 执行失败的任务':react-native-webview:compiledebugkotlin'。
编译误差。有关更多详细信息,请参见日志
- 尝试:
使用-stacktrace选项运行以获取堆栈跟踪。 使用-Info或 - debug选项运行,以获取更多日志输出。 运行 - 扫描以获得完整的见解。
- “ https://help.gradle.org”中获得更多帮助
。
at makeError (/home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/execa/index.js:174:9)
at /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/execa/index.js:278:16
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async runOnAllDevices (/home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:109:5)
at async Command.handleAction (/usr/local/lib/node_modules/react-native/node_modules/@react-native-community/cli/build/index.js:192:9)
在
btroot@btroot-Inspiron-3647:~/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal$ react-native run-android
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 967 file(s) to forward-jetify. Using 4 workers...
info JS server already running.
info Installing the app...
Task :react-native-webview:compileDebugKotlin FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings
32 actionable tasks: 2 executed, 30 up-to-date
e: Incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors
e: /home/btroot/.gradle/caches/transforms-3/5d5c005847cf8de15717b495cdeb2994/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.1.15.
e: /home/btroot/.gradle/caches/transforms-3/9eb741457c5f4bb9aab62f33b4784f6e/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.1.15.
e: /home/btroot/.gradle/caches/transforms-3/b4bd8b2d8b84f89e1b1eb3315da16eb4/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.1.15.
e: /home/btroot/.gradle/caches/transforms-3/f9029077105ee094cb660a998bc51080/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.1.15.
e: /home/btroot/.gradle/caches/transforms-3/fef35b89e5e15dc545425cdee6369ba0/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.1.15.
e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewPackage.kt: (8, 77): Unresolved reference: listOf
e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewPackage.kt: (12, 76): Unresolved reference: listOf
e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopHttpErrorEvent.kt: (23, 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.1.15.
The class is loaded from /home/btroot/.gradle/caches/transforms-3/b4bd8b2d8b84f89e1b1eb3315da16eb4/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class
e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopLoadingErrorEvent.kt: (23, 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.1.15.
The class is loaded from /home/btroot/.gradle/caches/transforms-3/b4bd8b2d8b84f89e1b1eb3315da16eb4/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class
e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopLoadingFinishEvent.kt: (23, 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.1.15.
The class is loaded from /home/btroot/.gradle/caches/transforms-3/b4bd8b2d8b84f89e1b1eb3315da16eb4/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class
e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopLoadingProgressEvent.kt: (23, 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.1.15.
The class is loaded from /home/btroot/.gradle/caches/transforms-3/b4bd8b2d8b84f89e1b1eb3315da16eb4/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class
e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopLoadingStartEvent.kt: (23, 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.1.15.
The class is loaded from /home/btroot/.gradle/caches/transforms-3/b4bd8b2d8b84f89e1b1eb3315da16eb4/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class
e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopMessageEvent.kt: (22, 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.1.15.
The class is loaded from /home/btroot/.gradle/caches/transforms-3/b4bd8b2d8b84f89e1b1eb3315da16eb4/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class
e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopRenderProcessGoneEvent.kt: (24, 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.1.15.
The class is loaded from /home/btroot/.gradle/caches/transforms-3/b4bd8b2d8b84f89e1b1eb3315da16eb4/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class
e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopShouldStartLoadWithRequestEvent.kt: (16, 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.1.15.
The class is loaded from /home/btroot/.gradle/caches/transforms-3/b4bd8b2d8b84f89e1b1eb3315da16eb4/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class
e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopShouldStartLoadWithRequestEvent.kt: (18, 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.1.15.
The class is loaded from /home/btroot/.gradle/caches/transforms-3/b4bd8b2d8b84f89e1b1eb3315da16eb4/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class
e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopShouldStartLoadWithRequestEvent.kt: (28, 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.1.15.
The class is loaded from /home/btroot/.gradle/caches/transforms-3/b4bd8b2d8b84f89e1b1eb3315da16eb4/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':react-native-webview:compileDebugKotlin'.
Compilation error. See log for more details
- Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
- Get more help at https://help.gradle.org
BUILD FAILED in 15s
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
e: Incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors
e: /home/btroot/.gradle/caches/transforms-3/5d5c005847cf8de15717b495cdeb2994/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.1.15.
e: /home/btroot/.gradle/caches/transforms-3/9eb741457c5f4bb9aab62f33b4784f6e/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.1.15.
e: /home/btroot/.gradle/caches/transforms-3/b4bd8b2d8b84f89e1b1eb3315da16eb4/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.1.15.
e: /home/btroot/.gradle/caches/transforms-3/f9029077105ee094cb660a998bc51080/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.1.15.
e: /home/btroot/.gradle/caches/transforms-3/fef35b89e5e15dc545425cdee6369ba0/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.1.15.
e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewPackage.kt: (8, 77): Unresolved reference: listOf
e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewPackage.kt: (12, 76): Unresolved reference: listOf
e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopHttpErrorEvent.kt: (23, 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.1.15.
The class is loaded from /home/btroot/.gradle/caches/transforms-3/b4bd8b2d8b84f89e1b1eb3315da16eb4/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class
e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopLoadingErrorEvent.kt: (23, 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.1.15.
The class is loaded from /home/btroot/.gradle/caches/transforms-3/b4bd8b2d8b84f89e1b1eb3315da16eb4/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class
e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopLoadingFinishEvent.kt: (23, 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.1.15.
The class is loaded from /home/btroot/.gradle/caches/transforms-3/b4bd8b2d8b84f89e1b1eb3315da16eb4/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class
e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopLoadingProgressEvent.kt: (23, 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.1.15.
The class is loaded from /home/btroot/.gradle/caches/transforms-3/b4bd8b2d8b84f89e1b1eb3315da16eb4/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class
e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopLoadingStartEvent.kt: (23, 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.1.15.
The class is loaded from /home/btroot/.gradle/caches/transforms-3/b4bd8b2d8b84f89e1b1eb3315da16eb4/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class
e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopMessageEvent.kt: (22, 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.1.15.
The class is loaded from /home/btroot/.gradle/caches/transforms-3/b4bd8b2d8b84f89e1b1eb3315da16eb4/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class
e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopRenderProcessGoneEvent.kt: (24, 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.1.15.
The class is loaded from /home/btroot/.gradle/caches/transforms-3/b4bd8b2d8b84f89e1b1eb3315da16eb4/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class
e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopShouldStartLoadWithRequestEvent.kt: (16, 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.1.15.
The class is loaded from /home/btroot/.gradle/caches/transforms-3/b4bd8b2d8b84f89e1b1eb3315da16eb4/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class
e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopShouldStartLoadWithRequestEvent.kt: (18, 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.1.15.
The class is loaded from /home/btroot/.gradle/caches/transforms-3/b4bd8b2d8b84f89e1b1eb3315da16eb4/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class
e: /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/events/TopShouldStartLoadWithRequestEvent.kt: (28, 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.1.15.
The class is loaded from /home/btroot/.gradle/caches/transforms-3/b4bd8b2d8b84f89e1b1eb3315da16eb4/transformed/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':react-native-webview:compileDebugKotlin'.
Compilation error. See log for more details
- Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
- Get more help at https://help.gradle.org
BUILD FAILED in 15s
at makeError (/home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/execa/index.js:174:9)
at /home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/execa/index.js:278:16
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async runOnAllDevices (/home/btroot/Backup/Rampraveen/React-Native/Experiment/Process/newPaypal/paypal/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:109:5)
at async Command.handleAction (/usr/local/lib/node_modules/react-native/node_modules/@react-native-community/cli/build/index.js:192:9)
info Run CLI with --verbose flag for more details.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论