[Reference site 1: android.support.v4.app.CoreComponentFactory error](https://stackoverflow.max-everyday.com/2019/05/android-didnt-find-class-android-support-v4-app- corecomponentfactory /) Reference site 2: tools: replace = "android: appComponentFactory"
① Describe the following in gradle.properties.
android.useAndroidX=true
android.enableJetifier=true
(2) Open a file that inherits AppCompatActivity, such as MainActivity, and open it. Import the following.
import androidx.appcompat.app.AppCompatActivity
Recommended Posts