-
Notifications
You must be signed in to change notification settings - Fork 4
2. Gotchya(s)
Rhydian Thomas edited this page Aug 5, 2018
·
2 revisions
- creating a flutter project with
--ios-language swift(objective-c projects work fine) - workaround; comment
use_frameworks!inios/Podfile - https://github.com/flutter/flutter/issues/14161
- https://github.com/apptreesoftware/flutter_google_map_view/issues/82
Error 0xe8000022: The service is invalid. AMDeviceStartService(device, CFSTR("com.apple.debugserver"), &gdbfd, NULL) Could not install build/ios/iphoneos/Runner.app on ...
- when first running on a device
- installs but won't connect with the debugger, can launch without debugging
Execution failed for task ':app:preDebugBuild'. > Android dependency 'com.android.support:support-fragment' has different version for the compile (26.1.0) and runtime (27.1.1) classpath. You should manually set the same version via DependencyResolution
- running on Android emulator
- https://stackoverflow.com/questions/44653261/android-dependency-has-different-version-for-the-compile-and-runtime
$ flutter drive --target=test_driver/launch_test.dart Using device iPhone 6 (10.3). Test file not found: ...
- when running integration tests
flutter drive --target=test_driver/launcher.dart - http://cogitas.net/write-integration-test-flutter/
- probably due to my own machines network configuration, workaround is to specify the default DNS server when launching the emulator, e.g.
emulator -avd Pixel_API_26 -dns-server 8.8.8.8
- make sure you disable bitcode at the Project level in
Runner.xcworkspace