Android File Provider Illegal Argument Exception

元气小坏坏 提交于 2019-12-04 23:35:44

I found the solution. The problem was that my authority name didn't end with ".fileprovider". Fixed.

Even when you have authorities properly set up to the appId and there is the FileProvider setup , you should ideally delete the caches , i.e. Delete .gradle and .idea folders or probably Invalidate the caches and restart which enables you to redownload the gradle dependencies again and then it worked for me :) Hope this might help someone

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!