android sdk 2.8.0,An error occurred about FileProvider, unable to open the application



投稿日時:2023年2月21日

java.lang.NoSuchMethodError: No direct method <init>(I)V in class Landroidx/core/content/FileProvider; or its super classes (declaration of 'androidx.core.content.FileProvider' appears in /data/app/~~0OhoGELxx1aN9Tx-vyibNQ==/com.caption.mprint-rYCxFMDhbpihFOkVbuJNqg==/base.apk)
        at zendesk.messaging.android.internal.ZendeskFileProvider.<init>(ZendeskFileProvider.kt:6)
        at java.lang.Class.newInstance(Native Method)
        at android.app.AppComponentFactory.instantiateProvider(AppComponentFactory.java:147)
        at androidx.core.app.CoreComponentFactory.instantiateProvider(CoreComponentFactory.java:67)


my application fileprovider config:

<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />
</provider>

1

1

1件のコメント

Hello,
 
Are you able to reproduce this issue with a simplified sample of your app that only demonstrates the behavior?  If so, can you please provide the steps to reproduce?

0


サインインしてコメントを残してください。

お探しのものが見つかりませんか?

新規投稿