We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Gradle error : updated the gradle version but still not able to run the code ...
The text was updated successfully, but these errors were encountered:
It is a pretty older android project which is indicated by the use of the deprecated andriod support libraries and an older "compileSkdVersion"
Changes:
Update compileSdkVersion and targetSdkVersion to 34
Add this to you gradle.properties file: android.useAndroidX=true android.enableJetifier=true
Replace the support libaries in your dependiences block with andriodX equivalents:
implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'androidx.recyclerview:recyclerview:1.2.1' implementation 'androidx.cardview:cardview:1.0.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.annotation:annotation:1.3.0'
implementation 'com.google.firebase:firebase-core:21.1.1' implementation 'com.google.firebase:firebase-auth:22.1.0' implementation 'com.google.firebase:firebase-database:20.3.0'
Sorry, something went wrong.
No branches or pull requests
Gradle error : updated the gradle version but still not able to run the code ...
The text was updated successfully, but these errors were encountered: