fluttercommunity / fluttercommunity/flutter_webview_plugin

Couldn't find meta-data for provider with authority ${applicationId}.fileprovider

Abierto
#622 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
1.5k
Forks
938
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

java.lang.IllegalArgumentException: Couldn't find meta-data for provider with authority ${applicationId}.fileprovider
W/System.err(32195): at androidx.core.content.FileProvider.parsePathStrategy(FileProvider.java:606)
W/System.err(32195): at androidx.core.content.FileProvider.getPathStrategy(FileProvider.java:579)
W/System.err(32195): at androidx.core.content.FileProvider.getUriForFile(FileProvider.java:417)
W/System.err(32195): at com.flutter_webview_plugin.WebviewManager.getOutputFilename(WebviewManager.java:290)
W/System.err(32195): at com.flutter_webview_plugin.WebviewManager.access$900(WebviewManager.java:47)
W/System.err(32195): at com.flutter_webview_plugin.WebviewManager$4.onShowFileChooser(WebviewManager.java:227)
W/System.err(32195): at com.android.webview.chromium.WebViewContentsClientAdapter.showFileChooser(WebViewContentsClientAdapter.java:1091)
W/System.err(32195): at org.chromium.android_webview.AwWebContentsDelegateAdapter.runFileChooser(AwWebContentsDelegateAdapter.java:227)
W/System.err(32195): at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
W/System.err(32195): at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:41)
W/System.err(32195): at android.os.Handler.dispatchMessage(Handler.java:105)
W/System.err(32195): at android.os.Looper.loop(Looper.java:156)
W/System.err(32195): at android.app.ActivityThread.main(ActivityThread.java:6517)
W/System.err(32195): at java.lang.reflect.Method.invoke(Native Method)
W/System.err(32195): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942)
W/System.err(32195): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832)
F/chromium(32195): [FATAL:jni_android.cc(243)] Please include Java exception stack in crash report
W/google-breakpad(32195): ### ### ### ### ### ### ### ### ### ### ### ### ###
W/google-breakpad(32195): Chrome build fingerprint:
W/google-breakpad(32195): 0.0.2
W/google-breakpad(32195): 1
W/google-breakpad(32195): ### ### ### ### ### ### ### ### ### ### ### ### ###
F/libc (32195): Fatal signal 6 (SIGABRT), code -6 in tid 32195 (m.*.rock)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'HUAWEI/MLA-AL10/HWMLA:7.0/HUAWEIMLA-AL10/C00B364:user/release-keys'
Revision: '0'
ABI: 'arm64'
pid: 32195, tid: 32195, name: m.*.rock >>> com.*.rock <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: '[FATAL:jni_android.cc(243)] Please include Java exception stack in crash report
'
x0 0000000000000000 x1 0000000000007dc3 x2 0000000000000006 x3 0000000000000008
x4 0000007fd4b4a36c x5 0000000000000009 x6 0000000000000009 x7 0000007f7f8a5ca3
x8 0000000000000083 x9 ffffffffffffffdf x10 0000000000000000 x11 0000000000000001
x12 ffffffffffffffff x13 0000000000000054 x14 0000007f7f8a5c98 x15 003c39407cc683a3
x16 0000007f97447ec8 x17 0000007f973f0c38 x18 0000000072334eb8 x19 0000007f991ebb40
x20 0000000000000006 x21 0000007f991eba98 x22 0000000000000002 x23 0000000000000000
x24 0000007fd4b4ac10 x25 0000007fd4b4ae20 x26 0000007fd4b4ae40 x27 000000000010001d
x28 0000000000000001 x29 0000007fd4b4a6b0 x30 0000007f973ee0e0
sp 0000007fd4b4a690 pc 0000007f973f0c40 pstate 0000000060000000
backtrace:
#00 pc 000000000006bc40 /system/lib64/libc.so (tgkill+8)
#01 pc 00000000000690dc /system/lib64/libc.so (pthread_kill+64)
#02 pc 0000000000023e68 /system/lib64/libc.so (raise+24)
#03 pc 000000000001c8ec /system/lib64/libc.so (abort+52)
#04 pc 00000000007624d4 /system/lib64/libwebviewchromium.so
Lost connection to device.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Comienza con WebviewManager.java, especialmente con getOutputFilename y la ruta de onShowFileChooser mostrada en el stack trace. Reproduce el fallo del selector de archivos e inspecciona los metadatos de AndroidX FileProvider implicados; la tarea estará completada cuando se identifique y verifique una solución para el fallo reportado.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
android, flutter, java
Área
mobile-dev
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.