package android.support.v4.app does not exist ; in Android studio 0.8

前端 未结 12 1613
我在风中等你
我在风中等你 2020-12-01 05:24

I\'ve recently updated the android studio IDE to 0.8 to work with the new android L SDK. To start I imported a finished android project that receives no errors in the older

12条回答
  •  臣服心动
    2020-12-01 05:29

    None of the above solutions worked for me. What finally worked was:

    Instead of

    import android.support.v4.content.FileProvider;
    

    Use this

    import androidx.core.content.FileProvider;
    

    This path is updated as of AndroidX (the repackaged Android Support Library).

提交回复
热议问题