Issue
UNHANDLED EXCEPTION: [MonoDroid] Java.Lang.RuntimeException: Unable to get provider androidx.core.content.FileProvider: java.lang.ClassNotFoundException: Didn't find class "androidx.core.content.FileProvider" on path: DexPathList[[zip file "/data/app/~~pZAuPuPF-r125lb9dLdbVw==/com.cfj.TrialwatchApp-RevQziFDZKEkLVVkaCkhEg==/base.apk"],nativeLibraryDirectories=[/data/app/~~pZAuPuPF-r125lb9dLdbVw
Solution
have you added below code under AndroidManifest.xml under Android Properties?
Please Add Below Code under Application Tag.
<provider android:name="androidx.core.content.FileProvider" android:authorities="yourpackagename.fileprovider" android:grantUriPermissions="true" android:exported="false">
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/filepaths" />
</provider>
Answered By - Krunal Bagadia
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.