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

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -