-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Could not create task ':ReactAndroid:compileDebugKotlin' #35335
Comments
@BloodyMonkey Were you able to find a solution? I'm also facing this issue. |
I am also facing this issue. |
No but i suppose it’s from the codegen process, not generating required files |
This error alternates with this one, every other time
Because |
any solution to the same, we are also facing the same issue. |
This gradle task from |
Upgrading RN 0.66.0 to 0.70.5 and experiencing the same issue. iOS build worked fine after upgrading using good old upgrade helper, this issue is breaking the Android build. gradlew only builds work fine though. |
Fixed by upgrading @react-native-community/cli-platform-android to 9.3.1 |
i'm facing this issue even using @react-native-community/cli-platform-android 9.3.1 |
@BloodyMonkey have u explicitly added the version library?? |
same is for me, still stuck on the same |
same issue... |
Hi, I resolve this issue , I just downgrade my gradle plugin version to 7.2.1, it's work
|
@allen-hsu solution worked in our case also.
|
@allen-hsu i confirm, i tried to upgrade gradle to 7.3.0 and error came back |
now after downgrading to 7.2.1, facing this issue #34871 |
@Viggyy did you get the solution on this, stuck for long here |
any solution for this error? ould not determine the dependencies of task ':app:compileCertDebugJavaWithJavac'.
|
Description
I'm trying to upgrade react-native version from 0.61.5 to 0.70.5
I used react native upgrade helper
After some days i was done with iOS, but now i'm struggling with Android, not able to build grade files.
I enabled Fabric and TurboMobules, but disabled Hermes (conflict with debugger and FireBase)
Gradle command to generate codegen has successfully completed.
Version
0.70.5
Output of
npx react-native info
System:
OS: macOS 12.6
CPU: (8) arm64 Apple M1
Memory: 486.47 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 19.0.1 - /opt/homebrew/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 8.19.2 - /opt/homebrew/bin/npm
Watchman: 2022.09.12.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
Android SDK: Not Found
IDEs:
Android Studio: 2021.3 AI-213.7172.25.2113.9014738
Xcode: 14.0.1/14A400 - /usr/bin/xcodebuild
Languages:
Java: 11.0.17 - /Users/bil/.jenv/shims/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.5 => 0.70.5
react-native-macos: Not Found
Steps to reproduce
Can't reproduce with a fresh project
Snack, code example, screenshot, or link to a repository
android/build.gradle
app/build.gradle
Gradle Error
Related Stackoverflow post
https://stackoverflow.com/questions/74429839/could-not-create-task-reactandroidcompiledebugkotlin
Possible issue
#35362
The text was updated successfully, but these errors were encountered: