Skip to content

Conversation

@RoyRonik
Copy link

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'

Update the Firebase Dependency Versions:
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'

Make sure that you are using Java 8 or later compatibility.

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

Successfully merging this pull request may close these issues.

2 participants