Closed ghost closed 3 years ago
This also seems to happen with my own repos, although testing is a bit of a pain. Gitlab is also effected, I suspect the markdown renderer may have something to do with this since repositories without a readme seem to be fine
The latest version uses webview_flutter to display readmes. Probably related to this change.
Hi, @kakolisgay , you could select Markdown render engine in the latest version v1.9.0, which has been published and in review.
Updated to 1.9.0* and strangely enough, it no longer crashes. Even in flutter rendering mode. Webview rendering mode doesn't seem to work though. Was the crash fixed upstream?
Markdown render engine history:
Still not entire sure what was causing the crashes but I assume it was likely fixed upstream. Closing for now
E/flutter (27924): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: PlatformException(error, java.lang.IllegalStateException: Invalid @IntRange(from = 1): 0
E/flutter (27924): at com.android.internal.util.AnnotationValidations.invalid(AnnotationValidations.java:227)
E/flutter (27924): at com.android.internal.util.AnnotationValidations.invalid(AnnotationValidations.java:223)
E/flutter (27924): at com.android.internal.util.AnnotationValidations.validate(AnnotationValidations.java:74)
E/flutter (27924): at android.hardware.display.VirtualDisplayConfig$Builder.<init>(VirtualDisplayConfig.java:336)
E/flutter (27924): at android.hardware.display.DisplayManager.createVirtualDisplay(DisplayManager.java:649)
E/flutter (27924): at android.hardware.display.DisplayManager.createVirtualDisplay(DisplayManager.java:600)
E/flutter (27924): at io.flutter.plugin.platform.VirtualDisplayController.create(VirtualDisplayController.java:42)
E/flutter (27924): at io.flutter.plugin.platform.PlatformViewsController$1.createVirtualDisplayForPlatformView(PlatformViewsController.java:207)
E/flutter (27924): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:104)
E/flutter (27924): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:59)
E/flutter (27924): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
E/flutter (27924): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
E/flutter (27924): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:692)
E/flutter (27924): at android.os.MessageQueue.nativePollOnce(Native Method)
E/flutter (27924): at android.os.MessageQueue.next(MessageQueue.java:335)
E/flutter (27924): at android.os.Looper.loop(Looper.java:183)
E/flutter (27924): at android.app.ActivityThread.main(ActivityThread.java:7656)
E/flutter (27924): at java.lang.reflect.Method.invoke(Native Method)
E/flutter (27924): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
E/flutter (27924): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
E/flutter (27924): , null, null)
It seems happen again at v1.10.0
It is probably caused by the webview component. Selecting 'Flutter' markdown render engine would solve this temporarily.
Still happens for me with webview*
The problem still exists. Maybe we should open this issue again...
Samsung Galaxy S8, Android 9, One UI
Opening this repo by going through settings crashes Android and causes a soft reboot. Issue was not present in previous play release