-
Notifications
You must be signed in to change notification settings - Fork 36
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
Android build error - Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. #11
Comments
This project doesn't support gradle 7.0 currently. My gradle version is |
But i don't use gradle 7. I use this and don't know why i can't build with that versions android/build.gradle
android/gradle/wrapper/gradle-wrapper.properties:
Thanks for answer, i try to build with gradle version 6.8.1. What version do you use here?
|
Here's what I'm using.
And you can check your gradle version with |
I updated gradle versions to your versions. In local i can do
Any idea about how can i fix it? Thanks! |
@luisfuertes You must enable Android X and jetifier to make it compatible. android/gradle.properties
and run |
I already had it activated On local i can do ./gradlew assembleRelease but in Pipeline it fail. Similar like this issue |
Hi @luisfuertes were you able to fix it? |
@bennyrock20 no, finally i used this mododule (is not free) |
@bennyrock20 I was able to fix this by forking this library and running
use my forked branch in your project. If the changes I made to this works for other people I might create a PR to this library. |
Your Environment
Context
android/build.gradle
android/gradle/wrapper/gradle-wrapper.properties:
Expected Behavior
Build correctly
Actual Behavior
Build crash with error:
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Possible Fix
Make compatible with Gradle 7
Steps to Reproduce
Context
I cant build my project
Debug logs
Build logs with:
./gradlew assembleRelease --warning-mode all
The text was updated successfully, but these errors were encountered: