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 Gradle features were used in this build, making it incompatible with Gradle 7.0. #2

Open
uptotec opened this issue Jul 27, 2020 · 1 comment

Comments

@uptotec
Copy link

uptotec commented Jul 27, 2020

whenever I install the package I get this error

> Task :react-native-autostart:verifyReleaseResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-autostart:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Android resource linking failed
     /home/uptotec/.gradle/caches/transforms-2/files-2.1/4438d40a9b83282dab2e1e14dc0d2520/appcompat-1.0.2/res/values-v28/values-v28.xml:5:5-8:13: AAPT: error: resource android:attr/dialogCornerRadius not found.

     /home/uptotec/.gradle/caches/transforms-2/files-2.1/4438d40a9b83282dab2e1e14dc0d2520/appcompat-1.0.2/res/values-v28/values-v28.xml:9:5-12:13: AAPT: error: resource android:attr/dialogCornerRadius not found.

     /home/uptotec/.gradle/caches/transforms-2/files-2.1/7518bff248894dab409f5fbc04be8fbf/core-1.0.1/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/fontVariationSettings not found.

     /home/uptotec/.gradle/caches/transforms-2/files-2.1/7518bff248894dab409f5fbc04be8fbf/core-1.0.1/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/ttcIndex not found.


* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

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.0.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m 9s
1891 actionable tasks: 23 executed, 1868 up-to-date
error Failed to build the app. Run CLI with --verbose flag for more details.
Error: Command failed: ./gradlew build -x lint
    at makeError (/home/uptotec/Projects/spoticount/test/spoticount-frontend/node_modules/execa/index.js:174:9)
@Adam014
Copy link

Adam014 commented Aug 11, 2024

@uptotec I know it kinda late to ask. But have you managed to somehow get this package to work? I have same errors in the builds as you are. Alternatively, have you find any other solutions to the feature "autostart"? Thanks.

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

2 participants