Put these flags in your gradle.properties
android.enableJetifier=true
android.useAndroidX=true
More Related Contents:
- Replace Activity in Manifest.xml
- How can I disable landscape mode in Android?
- Android Studio keeps refusing to resolve com.android.support:appcompat-v7:29.0.1
- How to change an Android app’s name?
- Error type 3 Error: Activity class {} does not exist
- How to set different label for launcher rather than activity title?
- adjustPan not preventing keyboard from covering EditText
- How to view AndroidManifest.xml from APK file?
- Activity Declaration in AndroidManifest.xml
- AndroidX:Appcompat I:art error android.view.View$OnUnhandledKeyEventListener
- in androidx.fragment.app.Fragment,setUserVisibleHint()is Deprecated,and not executed,why?
- How do I get multiple icons to launch different activities in one application?
- Error inflating class androidx.constraintlayout.ConstraintLayout after migration to androidx
- WRITE_SECURE_SETTINGS permission error even when added in Manifest
- Android FAB icon always black with MaterialComponents theme
- AnalyticsService not registered in the app manifest – error
- How is an Intent Service Declared in the Android Manifest?
- play-services-ads conflicts with appcompat
- You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without the ‘an
- Android open pdf file
- What is the purpose of “android.intent.category.DEFAULT”?
- What is metadata ? And what is the use of it in android
- Could not identify launch Activity: Default Activity not found
- About the Full Screen And No Titlebar from manifest
- Where can I get a list of more Android permissions? (other than …)
- How can you get the Manifest Version number from the App’s (Layout) XML variables?
- Possible to use multiple authorities with FileProvider?
- Error when adding buildFeatures in build.gradle file
- Program type already present: android.support.v4.os.ResultReceiver$MyResultReceiver
- How to use the new Android M feature of “Text Selection” to be offered from outside of your app?