![]()
#1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5) #0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:40:39) ![]() FlutterDriver: Isolate found with number: 4321025658285507ĭriverError: Error in Flutter application: Uncaught extension error while executing waitFor: 'package:flutter_driver/src/extension/extension.dart': Failed assertion: line 193 pos 14: ' || !command.requiresRootWidgetAttached': No root widget is attached have you remembered to call runApp()? I/flutter (13708): Observatory listening on Installing build/app/outputs/apk/app.apk. Running test_driver/app.dart on 'Nexus 6P' in locale de-DE. I/flutter (11201): # Snap Setup done #Īndroid/fastlane/metadata/android/en-US/images/phoneScreenshotsĬhanging locale from en-US to de-DE on 'Nexus 6P'. FlutterDriver: Connected to Flutter application. FlutterDriver: Waiting for service extension FlutterDriver: Attempting to resume isolate FlutterDriver: Isolate is paused at start. FlutterDriver: Isolate found with number: 1387888498866863 FlutterDriver: Connecting to Flutter application at I/flutter (11201): Observatory listening on 2,4sīuilt build/app/outputs/apk/debug/app-debug.apk. Starting application: test_driver/app.dart Running test_driver/app.dart on 'Nexus 6P' in locale en-US. #Android emulator stuck on android screen mac driver#If no workaround is available, it might be possible to dig into the flutter driver code, or the flutter engine code, to find the problem and maybe develop a flutter_myproject % screenshotsĪndroid/fastlane/metadata/android/en-US/images/phoneScreenshots for 'NexusĪndroid/fastlane/metadata/android/de-DE/images/phoneScreenshots for 'Nexus It might be worth trying on real devices. The flutter issue can be tricky to explain so apologies if I am not explaining it clearly.īased on my testing, I suspect there is not a workaround for this on emulated devices. #Android emulator stuck on android screen mac simulator#(btw: in this context device is interchangeable with iOS simulator and android emulator) If a workaround is found, it will probably be possible to use the workaround in Screenshots. Since the problem can be reproduced independently of Screenshots, searching for workarounds should probably be done independently of Screenshots. The test fails for an internationalized app if the locale of a device is changed from the default locale of the device to the locale under test prior to starting up the device and running the test. The test runs fine for a regular app in both locales. You can see the test running on travis here: To demonstrate this, and as referenced in the flutter issue, I setup a demo test using an iOS simulator (is also reproducible on an android emulator). The flutter issue is that Flutter Driver does not work with internationalized apps (in particular, when an integration test is run in a locale different from the devices default locale, ie, the locale of a device has been changed prior to running the test). (I probably should remove the bug label on this issue for clarification). ![]() So probably shouldn't really be considered a Screenshots bug. This problem can be reproduced on a device completely independently from Screenshots. Using multiple locales in screenshots.yaml will cause the test to hang and timeout (probably the same thing you are experiencing). It is using the default macOS v10.13.3 (can be configured to match your version if necessary):Įven though the example app supports en-US and fr-CA the screenshots.yaml has been set to the default locale of the device (en-US) because of the above mentioned flutter bug. The reference environment I use for Screenshots builds is on Travis using the example (internationalized) app. IntelliJ IDEA Ultimate Edition (version 2018.3.5) ✗ Dart plugin not installed this adds Dart specific functionality. ✗ Flutter plugin not installed this adds Flutter specific functionality. If all devices have been paired, libimobiledevice and ideviceinstaller may require updating.īrew uninstall -ignore-dependencies libimobiledeviceīrew uninstall -ignore-dependencies usbmuxd ✗ Verify that all connected devices have been paired with this computer in Xcode. iOS toolchain - develop for iOS devices (Xcode 10.1) #Android emulator stuck on android screen mac for android#Android toolchain - develop for Android devices (Android SDK version 28.0.3) #Android emulator stuck on android screen mac mac os x#Flutter (Channel stable, v1.2.1, on Mac OS X 10.14.3 18D109, locale de-DE) Doctor summary (to see all details, run flutter doctor -v): ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |