且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

由于找不到 FileProvider 类,因此在模拟器上重新安装后应用程序崩溃

更新时间:2022-03-23 06:12:17

如果你正在使用 androidx 库,在 AndroidManifest.xml代码>,更改此:

If you are using androidx libraries, in AndroidManifest.xml, change this:

android:name="android.support.v4.content.FileProvider"

为此:

android:name="androidx.core.content.FileProvider"