android - cannot resolve symbol FileProvider -
i trying test fileprovider tutorial.
it asks include in manifest :
<provider android:name="android.support.v4.content.fileprovider" android:authorities="com.mydomain.fileprovider" android:exported="false" android:granturipermissions="true"> </provider>
in manifest, error:
cannot resolve symbol fileprovider
i followed these instructions, add v4 support library android studio. add following build.gradle file, gradle sync fails :
compile "com.android.support:support-v4:18.0.+"
what must resolve problem ?
go file > invalidate caches / restart , invalidate , restart.
Comments
Post a Comment