Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

project ':react-native-baidumap-sdk' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.41 #253

Open
xfeng-github opened this issue Oct 22, 2020 · 6 comments

Comments

@xfeng-github
Copy link

添加依赖 yarn add react-native-baidumap-sdk 后无法编译通过了
image
该如何解决呢

@xfeng-github
Copy link
Author

19:12:16.486 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
19:12:16.486 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
19:12:16.486 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
19:12:16.486 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
19:12:16.486 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.0 and higher.
19:12:16.486 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] The following dependencies do not satisfy the required version:
19:12:16.486 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] project ':react-native-baidumap-sdk' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.41
19:12:16.486 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
19:12:16.486 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try:
19:12:16.486 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Run with --stacktrace option to get the stack trace. Run with --scan to get full insights.
19:12:16.486 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
19:12:16.486 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Get more help at https://help.gradle.org

@NapChen
Copy link

NapChen commented Jun 1, 2021

改下gradle的版本就行了,报错提示了要1.3.0或以上

@xfeng-github
Copy link
Author

改下gradle的版本就行了,报错提示了要1.3.0或以上

好的, 多谢提醒

@junguoguo2017
Copy link

0.61.5需要改到什么版本 不会报错

@NapChen
Copy link

NapChen commented Jul 19, 2021

0.61.5需要改到什么版本 不会报错

react-native-baidumap-sdk 要改这个的gradle版本为1.3.0或者以上

@junguoguo2017
Copy link

0.61.5需要改到什么版本 不会报错

react-native-baidumap-sdk 要改这个的gradle版本为1.3.0或者以上

依旧有其他问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants