ClassNotFoundException: Didn't find class “android.support.v4.content.FileProvider” after androidx migration

后端 未结 3 1027
梦谈多话
梦谈多话 2021-01-01 08:27

I\'m trying to move to migrate to androidx. I used the migration tool in Android Studio. When I do this I get the following stacktrace when I run my app.

E/A         


        
3条回答
  •  心在旅途
    2021-01-01 08:50

    Thanks to @CommonsWare

    More explanation:

    What to do, find the android.support.v4.FileProvider in your in AndroidManifest.xml.

    Change it to androidx.core.content.FileProvider

提交回复
热议问题