react-native-checkbox / react-native-checkbox

Checkbox component for React Native
MIT License
377 stars 88 forks source link

app:lintVitalRelease Causing app build to faild #178

Open tragicmj opened 1 year ago

tragicmj commented 1 year ago

On trying to build apk, I am getting the below error

Task :app:lintVitalRelease FAILED

FAILURE: Build failed with an exception.


"@react-native-community/checkbox": "^0.5.9", "react-native": "0.66.1",

arunshejul commented 1 year ago

`> Task :react-native-community_masked-view:mergeReleaseResources FAILED

FAILURE: Build failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings `

gern132 commented 1 year ago

I also had this problem this morning!

punitkashyup commented 1 year ago

I am also facing same issue.

tragicmj commented 1 year ago

@nicholaslee119 can you please look into this one. I think Jcenter dependency is causing the issue and it has been shut down since early morning today.

Abhishektaurus commented 1 year ago

I am also facing the same issue. Can anyone please help ?

andre-wells commented 1 year ago

I ran into this problem a few weeks ago which sort of resovled itself. It started again this morning.

I believe this is because JCenter is planned to shut down.

If your app (or a dependancy) is hosted in JCenter, you're going to start running into issues.

UPDATE: JFrog has decided to keep JCenter as a read-only repository indefinitely. New package and versions are no longer accepted on JCenter. All Bintray services have been shutdown.

In my case, I started removing dependencies (many were added to the project that weren't even used 🙄) to identify which dependency I needed to migrate off of. I've been lucky; only 3 deps to get rid of and none of them were used and my builds are succeeding.

TLDR; Read the articles on JCenter shutting down and plan to migrate to maven hosted dependancies.

FranticOwl commented 1 year ago

This is a temporary workaround:

[https://github.com/facebook/react-native/issues/35136#issuecomment-1297071737](Replace all jcenter in node_modules)

nicholaslee119 commented 1 year ago

@tragicmj Thanks, everyone, I will check and release this ASAP

nicholaslee119 commented 1 year ago

Thanks everyone, new version was released
Special thanks to @punitkashyup