-
-
Notifications
You must be signed in to change notification settings - Fork 409
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
Fail on Android debug build / :react-native-community_datetimepicker:packageDebugResources FAILED #810
Comments
same issue |
Same issue here. Update: ./android/gradle/wrapper/gradle-wrapper.properties:
I know this is not ideal and we still need to do some tests to check if this change implied breaking the build at runtime. |
Same issue. Unfortunately downgrading gradle is not an option. |
I tried this, it worked, but introduced other bugs. Here is how I resolved it:
|
I downgraded OpenJDK 21 to Azul Zulu 17 solved my problem |
Were you able to resolve the error? @crisbal @AbdurRobTanvir @Eliasdbr @cosminpwd I'm having the same issue when migrating from Expo sdk 48 to 49. According to this, it should be fixed by updating to v7.4.1(gradle 8 compatible). I tried but i'm still having the error. I also installed via npm and followed the manual-installation procedure. But still same error 😢 Did i miss anything? |
Try downgrading the gradle wrapper version to 7.5.1 instead of 7.4.1 when building a debug build. I do that when I need to make a debug APK, and when I need to make a release .AAB, I upgrade the Gradle wrapper back to 8.0.1 By the way, I'm using React Native v0.72.4. One more thing: in the issue you shared, apparently, the RN devs fixed this on the 0.74.1 version of RN, but for the looks of the reactions, it didn't fixed the bug |
Is there any other solution than downgrading gradle and react-native versions ? |
Is this issue resolved? I'm still facing in below version react-native: 0.73.0
|
I've resolved all community related package issues by just removing them from settings.gradle and app/build.gradle while migrating to 0.73.0 and gradle 8.3 |
Bug report
Summary
I am trying to run a debug release of my react-native app. It is a freshly created app with
react-native 0.72.4
andgradle 8
.I have never used Gradle so I am not fully sure if the issue is on me and my Gradle setup or something on your side.
I am on Windows, I have installed your library via
npm
and then followed the manual-installation procedureI have no idea why it complains about this task dependency and if that is the real problem.
Note (but I guess off-topic): I have had the library build successfully with
gradle 7
(by settingdistributionUrl
inandroid\gradle\wrapper\gradle-wrapper.properties
togradle 7
), but the "production" build would fail.Output of the build process
Environment info
Please ignore the NoSDK thing. I can compile without react-native-datetimepicker/datetimepicker just fine.
npx react-native info
output:react-native doctor
package.json
The text was updated successfully, but these errors were encountered: