-
-
Notifications
You must be signed in to change notification settings - Fork 984
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
Task :react-native-gesture-handler:compileDebugKotlin FAILED RN 0.69.3 with new arch #2168
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 |
+2 |
+3 |
+4 |
It seems like codegen doesn't generate files for Gesture Handler. It would be grate if you could provide a repository with a reproduction or a more detailed list of steps to reproduce it. |
+5 => 0.69.4 |
After upgrade to new RN and turn on new arch, I got the same issue. I need to clean up my I'm using:
and somehow i need to upgrade:
I remove manual linking on I also add
For addition I found issue |
I'm getting the same error with React Native version |
I got the same error too |
Have you tried the advice from @bukhari-flip? Mainly, updating If it doesn't help, could you provide a link to a repository with an app that would allow to consistently reproduce it? |
got this error too, any fix? |
If the new arch is enabled I got the same issue on 0.69 , I see no fix on 70 too I guess |
Yeah, the same issue. |
I upgraded the kotlin version,fixed it。 |
@zhangfuchao which version are you using ? |
@nazrdogan |
the problem is related to the react native version |
+6 |
|
So I solved it by
|
Same problem with android and enabled new architecture
|
@j-piasecki Ok I've found that after adding reanimated 2.12 to the sample RN-0.70.5 project with gesture-handler 2.8.0, I got failing build. So should reanimated@next be used instead of stable 2.12? |
|
Fixed this issue by removing kotlinVersion = '1.6.10' & classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:.6.10" |
@j-piasecki this didn't work
|
for anyone looking for a repro, here are the steps:
|
@j-piasecki any solution here? |
@heroic Are you sure it's the same issue? In your repro it seems like Reanimated's package is not picked up during build, which persists after removing Gesture Handler. In this case I believe the GH build fails first because it picks up that Reanimated is in |
Not sure, but the error log appears to be the same |
@j-piasecki were you able to check this? Any thing that you can share, that may help me check further into what to tinker? |
this solved my problem
|
+8 React Native version: 0.70.6 |
+9 |
with me it worked.
"react": "18.2.0",
"react-native": "0.71.1",
"react-native-gesture-handler": "^2.9.0",
|
So if I remove |
I cannot say whether your app will work after removing |
|
Hey all 👋🏼 // android/build.gradle
buildscript {
ext {
buildToolsVersion = 33
compileSdkVersion = 33
targetSdkVersion '33.0.0'
}
} |
Hi guys. React native : 0.71.8 For me what worked was:
|
@alejodelosrios 's solution worked for me! |
It worked for me to |
I'll close the issue since it seems like you've found the solution. |
This worked for me. Thank you.
|
thanks, it work for me too |
// android/build.gradle - updating the version change worked for me
|
// in android/build.gradle this work for me |
In my case helped just update kotlin version in
|
I solved it by upgrading my react-native-gesture-handler to version 2.9.0.
|
// android/build.gradle - updating the version change worked for me buildscript { |
Description
When I build my app its failed with this errors:
It works fine with new arch disabled, but failed when I enable it.
Steps to reproduce
Snack or a link to a repository
Not needed
Gesture Handler version
2.5.0
React Native version
0.69.3
Platforms
Android
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
Fabric (New Architecture)
Build type
Debug mode
Device
No response
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: