Skip to content
Advertisement

android.support.v4.content.FileProvider not found

I am trying to upgrade a working old app to support Android API 26, and one of the thing I need to use is android.support.v4.content.FileProvider – but it was not found.

JavaScript

Due to the early Android build, the gradle file seems simple. Is it as simple as adding a dependency? I have look around and some suggested adding a multidex which I don’t understand. Any help is appreciated, thank you!

JavaScript

Advertisement

Answer

add compile 'com.android.support:support-v4:26.1.0' to build.gradle file in app module.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement