gpt4 book ai didi

Flutter 权限拒绝 : opening provider org.chromium.chrome.browser.util.ChromeFileProvider

转载 作者:行者123 更新时间:2023-12-04 11:33:41 27 4
gpt4 key购买 nike

问题是当我进入带有文本字段的页面时,它会产生这个

W/PlatformPlugin(20347): Attempted to get clipboard data that requires additional permission(s).
W/PlatformPlugin(20347): See the exception details for which permission(s) are required, and consider adding them to your Android Manifest as described in:
W/PlatformPlugin(20347): https://developer.android.com/guide/topics/permissions/overview
W/PlatformPlugin(20347): java.lang.SecurityException: Permission Denial: opening provider org.chromium.chrome.browser.util.ChromeFileProvider from ProcessRecord
W/PlatformPlugin(18899):    at android.os.Parcel.createException(Parcel.java:2087)
W/PlatformPlugin(18899): at android.os.Parcel.readException(Parcel.java:2055)
W/PlatformPlugin(18899): at android.os.Parcel.readException(Parcel.java:2003)
W/PlatformPlugin(18899): at android.app.IActivityManager$Stub$Proxy.getContentProvider(IActivityManager.java:5411)
W/PlatformPlugin(18899): at android.app.ActivityThread.acquireProvider(ActivityThread.java:6965)
W/PlatformPlugin(18899): at android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider(ContextImpl.java:2848)
W/PlatformPlugin(18899): at android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:2258)
W/PlatformPlugin(18899): at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1690)
W/PlatformPlugin(18899): at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1644)
W/PlatformPlugin(18899): at io.flutter.plugin.platform.PlatformPlugin.getClipboardData(PlatformPlugin.java:295)
W/PlatformPlugin(18899): at io.flutter.plugin.platform.PlatformPlugin.access$700(PlatformPlugin.java:26)
W/PlatformPlugin(18899): at io.flutter.plugin.platform.PlatformPlugin$1.getClipboardData(PlatformPlugin.java:85)
W/PlatformPlugin(18899): at io.flutter.embedding.engine.systemchannels.PlatformChannel$1.onMethodCall(PlatformChannel.java:141)
W/PlatformPlugin(18899): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
W/PlatformPlugin(18899): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
W/PlatformPlugin(18899): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:692)
W/PlatformPlugin(18899): at android.os.MessageQueue.nativePollOnce(Native Method)
W/PlatformPlugin(18899): at android.os.MessageQueue.next(MessageQueue.java:336)
W/PlatformPlugin(18899): at android.os.Looper.loop(Looper.java:182)
W/PlatformPlugin(18899): at android.app.ActivityThread.main(ActivityThread.java:7804)
W/PlatformPlugin(18899): at java.lang.reflect.Method.invoke(Native Method)
W/PlatformPlugin(18899): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
W/PlatformPlugin(18899): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:984)
W/PlatformPlugin(18899): Caused by: android.os.RemoteException: Remote stack trace:
W/PlatformPlugin(18899): at com.android.server.am.ActivityManagerService.getContentProviderImpl(ActivityManagerService.java:7567)
W/PlatformPlugin(18899): at com.android.server.am.ActivityManagerService.getContentProvider(ActivityManagerService.java:8052)
W/PlatformPlugin(18899): at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:2231)
W/PlatformPlugin(18899): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3029)
W/PlatformPlugin(18899): at com.android.server.am.OppoActivityManagerService.onTransact(OppoActivityManagerService.java:99)
W/PlatformPlugin(18899):

当我删除文本字段时,问题就消失了。我不知道这里有什么问题。谢谢。

最佳答案

请参阅此 Flutter 问题报告:
https://github.com/flutter/flutter/issues/65388
我真的不知道细节是什么,但我知道我最近复制了一张图像,所以它在我的 android 10 的“剪贴板”中。我只是在突出显示后复制了一些随机文本,这个问题立即消失了。

关于Flutter 权限拒绝 : opening provider org.chromium.chrome.browser.util.ChromeFileProvider,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64875634/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com