Duplicate class android.support.v4.app.ActivityCompat code example Example: Duplicate class android.support.v4.app. android.useAndroidX=true android.enableJetifier=true