(*(*17*)*)Device requirement:(*3*)
Android Studio requirement 3.(*17*) or above
(*(*17*)*)At the end of “Undertaking -> Gradle Scripts -> gradle.houses(Undertaking Properties)” add the ones strains:(*3*)
android.useAndroidX=true
android.enableJetifier=true
(*(*17*)*)At the end of “Undertaking -> Gradle Scripts -> assemble.gradle(Undertaking:)” add the ones strains:(*3*)
…
buildscript
allprojects
(*(*17*)*)Business “Undertaking -> Gradle Scripts -> assemble.gradle(Module:)” the ones strains:(*3*)
androidTestImplementation ‘com.android.give a boost to.test.espresso:espresso-core:3.(*(*18*)*).2’ -> androidx.test.espresso:espresso-core:3.1.1
implementation ‘com.android.give a boost to:appcompat-v7:28.(*(*18*)*).(*(*18*)*)’ -> androidx.appcompat:appcompat:1.(*(*18*)*).2
implementation ‘com.android.give a boost to.constraint:constraint-layout:1.1.3’ -> androidx.constraintlayout:constraintlayout:1.1.3
androidTestImplementation ‘com.android.give a boost to.test:runner:1.(*(*18*)*).2’ -> androidx.test:runner:1.1.1
implementation ‘com.google.android.gms:play-services-ads:17.2.1’ -> com.google.android.gms:play-services-ads:18.1.1
(*(*17*)*)For Example:(*3*)
…
implementation fileTree(dir: ‘libs’, include: (*4*))
implementation ‘androidx.appcompat:appcompat:1.(*(*18*)*).2’
implementation ‘androidx.constraintlayout:constraintlayout:1.1.3’
testImplementation ‘junit:junit:4.(*18*)’
androidTestImplementation ‘androidx.test:runner:1.1.1’
androidTestImplementation ‘androidx.test.espresso:espresso-core:3.1.1’
(*(*17*)*)References:(*3*)
- (*2*)https://developer.android.com/jetpack/androidx/migrate
- (*1*)https://developer.android.com/jetpack/androidx/migrate/artifact-mappings