title: Could not determine the dependencies of task ':app:flutterBuildDebug' when start vscode flutter debugging
body: <p>This is my environment: OS: Linux Mint 19 Tara Cinnamon 64bit (based on Ubuntu 18.04)</p>
  
  <pre><code>$ flutter doctor
  Doctor summary (to see all details, run flutter doctor -v):
  [✓] Flutter (Channel beta, v0.10.2, on Linux, locale en_US.UTF-8)
  [✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
  [✓] Android Studio (version 3.2)
  [✓] VS Code (version 1.28.2)
  [✓] Connected device (1 available)
  
  • No issues found!
  </code></pre>
  
  <p>This error appears in debug console when I click <code>Debug &gt; Start Debugging</code> in Visual Studio Code.</p>
  
  <pre><code>Launching lib/main.dart on Android SDK built for x86 in debug mode...
  FAILURE: Build failed with an exception.
  * Where:
  Script '/home/ilhamwahabigx/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 602
  * What went wrong:
  Could not determine the dependencies of task ':app:flutterBuildDebug'.
  &gt; java.net.URISyntaxException: Illegal character in opaque part at index 2: E:\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\collection-1.14.11\\lib\\collection.dart
  
  * Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
  * Get more help at https://help.gradle.org
  BUILD FAILED in 1s
  Gradle task assembleDebug failed with exit code 1
  Exited (sigterm)
  </code></pre>
  
  <p>Any help would be appreciated?</p>