-
-
Notifications
You must be signed in to change notification settings - Fork 980
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
[Android] The Kotlin Gradle plugin was loaded multiple times in different subprojects #2307
Comments
Hey! 👋 The issue doesn't seem to contain a minimal reproduction. Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem? |
+1 seeing the same issue |
@SaraChicaD no, this issue is not related to something like that. The gradle log shows modules that are involved in the issue:
|
+1 same issue.. |
+1 Same issue |
any updates? |
+1 also getting this same error: |
FWIW I have (temporarily?) resolved this issue by adding |
Update: |
I also got this issue: in my case, i forgot to put Gradle variables into android/gradle.properties. so just put the Gradle variables into android/gradle.properties. this is the Gradle variables look like: https://reactnative.dev/docs/signed-apk-android#setting-up-gradle-variables MYAPP_UPLOAD_STORE_FILE=my-upload-key.keystore |
Adding |
Any Solution ?? |
+1 same problem |
+1 Facing same problem |
+1 |
Same here with reanimated |
+1 |
facing this issue too |
Idem +1 |
I set version to |
+1 |
Estou com o mesmo problema ainda ao tentar executar meu aplicativo |
+1 Also facing the same problem here, with reanimated |
I believe this could be resolved by making the following modifications to the build.gradle file:
And then for dependencies:
|
+1 I am also facing the same problem, but we are able to run it on a different computer. We have checked various settings on Android Studio's side, and everything appears to be the same. |
any updates? does anyone here have a solution? |
Solution Update: I'm pleased to share that I've managed to resolve this issue by adding the following line to the classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0") This addition successfully addressed the problem I was encountering. |
I just created a new project using expo, and run it.
I did something that works. go Those where created using "com.appname", but when I started my expo project I specified "com.company.appname" |
I'm having the same error but this doesn't seem to solve my issue... |
for my current project using prebuild I run |
+1 |
any update same issue! |
I added this line in android/build.gradle and it worked
|
This comment was marked as outdated.
This comment was marked as outdated.
same issue |
Error: The Kotlin Gradle plugin was loaded multiple times in different
NOTE: Kotlin version change as per your requirements. I hope it works for you!!!!! |
Description
Every time when I building my project, the following warning appears in the gradle output. I don't think this a problem (the project build correctly), but decided to inform about it.
My environment:
gradle 7.5.1
gradle plugin: 7.2.2
Steps to reproduce
Start build the RN project -> the following warning appears in the gradle output:
Snack or a link to a repository
none
Gesture Handler version
2.8.0
React Native version
0.70.4
Platforms
Android
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
Paper (Old Architecture)
Build type
Release mode
Device
Real device
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: