求助关于调用手机相机的注册代码问题

图片说明
这是什么问题,怎么解决
android.support.v4.content.FileProvider被标红了

android:name="android.support.v4.content.FileProvider"
android:authorities="com.example.detection.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />

 依赖包如下
 implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'androidx.appcompat:appcompat:1.0.2'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test:runner:1.1.1'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'com.android.support:support-v4:28.0.0'

https://blog.csdn.net/zc_fitting/article/details/50866763

implementation 'com.android.support:support-v4:28.0.0'这个依赖包没用

你这个用的高版本,androidx把包整合了,下边的 implementation 'com.android.support:appcompat-v7:28.0.0', implementation 'com.android.support:support-v4:28.0.0'包没用了把