Skip to content
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

Deprecated API error occurred with checkbox while trying to run ./gradlew assembleRelease #219

Open
poojalivin opened this issue May 1, 2024 · 0 comments

Comments

@poojalivin
Copy link

poojalivin commented May 1, 2024

Everything works fine while generating debug apk. But on running ./gradlew assembleRelease, I'm getting an error saying myapplication\node_modules@react-native-community\checkbox\android\src\main\java\com\reactnativecommunity\checkbox\ReactCheckBoxEvent.java uses or overrides a deprecated API.

Task :@react-native-community_checkbox:verifyReleaseResources FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':@react-native-community_checkbox:verifyReleaseResources'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
1 exception was raised by workers:
com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
C:\Users\hp.gradle\caches\transforms-2\files-2.1\64874ac762e05c541574eef7966d8161\core-1.7.0\res\values\values.xml:105:5-114:25: AAPT: error: resource android:attr/lStar not found.

I'm using the latest version "@react-native-community/checkbox": "^0.5.17",
How can I solve this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant