I am trying to test the FileProvider tutorial.
It asks to include in the manifest :
<provider
android:name="android.support.v4.content.FileProvider"
android:authorities="com.mydomain.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
</provider>
In the manifest, I get the error:
Cannot resolve symbol FileProvider
I followed these instructions, to add the v4 support library to Android Studio. I add the following to the build.gradle file, but the gradle sync fails :
compile "com.android.support:support-v4:18.0.+"
What must I do to resolve this problem ?