Skip to content

2. Gotchya(s)

Rhydian Thomas edited this page Aug 5, 2018 · 2 revisions

iOS Build Error - The 'Pods-Runner' target has transitive dependencies that include static binaries

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

Tabs without subtitles

$ flutter drive --target=test_driver/launch_test.dart Using device iPhone 6 (10.3). Test file not found: ...

The built-in library 'dart:ui' is not available on the stand-alone VM.

No internet connection running Android emulator

  • 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

iTunes Connect (after upload) "There was an error importing this build."

  • make sure you disable bitcode at the Project level in Runner.xcworkspace