It is impossible to translate your project on V7: 28.0.0. I took and created an empty default project in general that the studio offers to choose from when creating a project. In particular, took Google Maps. Immediately when creating a project, the Minimum API LEVEL 28 pointed out to see how everything will create a studio with automatt. Only after creating a project, immediately an error, line
implementation 'com.android.support:ppompat-v7:28.0.0'
began to emphasize red. Good, gouglim. I read that you need to connect
android.useAndroidX = True
Android.EnableJetifier = True.
prescribed. After the project reversed. Red to emphasize stopped. Only in the default mapsactivity cannot connect
import android.support.v4.app.fragmentActivity;
stupidly red. And appropriate, in my project, as well. Only a lot of things can not connect: annotations, etc.
Yes, found that you need to connect:
implementation 'com.android.support:support-annotations:8.0.0'
Implementation 'com.android.support:support-v4:28.0.0'
Implementation 'com.android.support:support-fragment:28.0.0'
Only this does not help. Where to dig?
Answer 1
If you use AndroidX you need to load and use AndroidX libraries.
link You can see which libraries need to be used on AndroidX instead of old.