The red mark is what reason?

CodePudding user response:
Estimate is to import the wrong package version can't find the corresponding class
CodePudding user response:
Do you use AndroidX? Package is different, it takes AndroidX AndroidX. Core. The content. FileProvider

CodePudding user response: