-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
a: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsc: crashStack traces logged to the consoleStack traces logged to the consoleengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-androidAndroid applications specificallyAndroid applications specificallywill need additional triageThis issue or PR needs attention before being routed to secondary triageThis issue or PR needs attention before being routed to secondary triage
Description
getting exception when i call showgeneraldialog method :
W/ClipData(28270): Failure opening stream
W/ClipData(28270): java.lang.SecurityException: Permission Denial: opening provider org.chromium.chrome.browser.util.ChromeFileProvider from ProcessRecord{a34436c 28270:com.enhancme/u0a425} (pid=28270, uid=10425) that is not exported from UID 10219
W/ClipData(28270): at android.os.Parcel.createException(Parcel.java:2088)
W/ClipData(28270): at android.os.Parcel.readException(Parcel.java:2056)
W/ClipData(28270): at android.os.Parcel.readException(Parcel.java:2004)
W/ClipData(28270): at android.app.IActivityManager$Stub$Proxy.getContentProvider(IActivityManager.java:5866)
W/ClipData(28270): at android.app.ActivityThread.acquireProvider(ActivityThread.java:7191)
W/ClipData(28270): at android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider(ContextImpl.java:2895)
W/ClipData(28270): at android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:2124)
W/ClipData(28270): at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1678)
W/ClipData(28270): at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1632)
W/ClipData(28270): at android.content.ClipData$Item.coerceToText(ClipData.java:367)
W/ClipData(28270): at io.flutter.plugin.platform.PlatformPlugin.getClipboardData(PlatformPlugin.java:278)
W/ClipData(28270): at io.flutter.plugin.platform.PlatformPlugin.access$700(PlatformPlugin.java:24)
W/ClipData(28270): at io.flutter.plugin.platform.PlatformPlugin$1.getClipboardData(PlatformPlugin.java:81)
W/ClipData(28270): at io.flutter.embedding.engine.systemchannels.PlatformChannel$1.onMethodCall(PlatformChannel.java:141)
W/ClipData(28270): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:230)
W/ClipData(28270): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
W/ClipData(28270): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:692)
W/ClipData(28270): at android.os.MessageQueue.nativePollOnce(Native Method)
W/ClipData(28270): at android.os.MessageQueue.next(MessageQueue.java:336)
W/ClipData(28270): at android.os.Looper.loop(Looper.java:197)
W/ClipData(28270): at android.app.ActivityThread.main(ActivityThread.java:8016)
W/ClipData(28270): at java.lang.reflect.Method.invoke(Native Method)
W/ClipData(28270): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
W/ClipData(28270): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1076)
W/ClipData(28270): Caused by: android.os.RemoteException: Remote stack trace:
W/ClipData(28270): at com.android.server.am.ActivityManagerService.getContentProviderImpl(ActivityManagerService.java:8367)
W/ClipData(28270): at com.android.server.am.ActivityManagerService.getContentProviderImpl(ActivityManagerService.java:8213)
W/ClipData(28270): at com.android.server.am.ActivityManagerService.getContentProvider(ActivityManagerService.java:8854)
W/ClipData(28270): at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:2461)
W/ClipData(28270): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3356)
W/ClipData(28270):
my code :
await showGeneralDialog(
context: context,
barrierDismissible: true,
barrierLabel: MaterialLocalizations.of(context).modalBarrierDismissLabel,
barrierColor: Colors.black45,
transitionDuration: const Duration(milliseconds: 200),
pageBuilder: (BuildContext buildContext, Animation animation,
Animation secondaryAnimation) {
return AlertDialog(
contentPadding: EdgeInsets.all(0),
content:Container(height: 200,width: 200,color: randomColor(),)
);
});
Flutter doctor :
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.20.3, on Mac OS X 10.15.6 19G2021, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
[✓] Android Studio (version 3.6)
[✓] VS Code (version 1.48.2)
[✓] Connected device (1 available)
• No issues found!
[✓] Flutter (Channel stable, 1.20.3, on Mac OS X 10.15.6 19G2021, locale en-GB)
• Flutter version 1.20.3 at /Software/SDK/Flutter-SDK/flutter
• Framework revision 216dee60c0 (7 days ago), 2020-09-01 12:24:47 -0700
• Engine revision d1bc06f032
• Dart version 2.9.2
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Software/SDK/Android/SDK
• Platform android-29, build-tools 29.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.7, Build version 11E801a
• CocoaPods version 1.8.4
[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 44.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
[✓] VS Code (version 1.48.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.13.2
[✓] Connected device (1 available)
entrpn, pedroIgnacioM, b055man, OscarEReyes, AshutoshPatole and 3 moreb055man
Metadata
Metadata
Assignees
Labels
a: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsc: crashStack traces logged to the consoleStack traces logged to the consoleengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-androidAndroid applications specificallyAndroid applications specificallywill need additional triageThis issue or PR needs attention before being routed to secondary triageThis issue or PR needs attention before being routed to secondary triage