Could not determine the dependencies of task ':app:flutterBuildDebug' when start vscode flutter debugging











up vote
1
down vote

favorite












This is my environment: OS: Linux Mint 19 Tara Cinnamon 64bit (based on Ubuntu 18.04)



$ 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!


This error appears in debug console when I click Debug > Start Debugging in Visual Studio 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'.
> 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)


Any help would be appreciated?










share|improve this question
























  • does E:\flutter\.pub-cache\hosted\pub.dartlang.org\collection-1.14.11\lib\collection.dart path exist? I'm not sure that path exist within linux normally
    – selharxets
    Nov 12 at 9:16










  • @selharxets actually, i'm using dual boot and that was my windows 8.1 path. In linux that should be /media/ilhamwahabigx/Work/flutter. I just been realize why it reference there
    – Ilham Wahabi GX
    Nov 12 at 9:31












  • some IDE config files and SDKs should not be shared between OS. You should reinstall SDK and omit any User/OS-specific config files
    – selharxets
    Nov 12 at 9:47










  • that's the weird thing, I had separate my config and SDKs. I wonder where I missed it
    – Ilham Wahabi GX
    Nov 12 at 10:05















up vote
1
down vote

favorite












This is my environment: OS: Linux Mint 19 Tara Cinnamon 64bit (based on Ubuntu 18.04)



$ 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!


This error appears in debug console when I click Debug > Start Debugging in Visual Studio 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'.
> 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)


Any help would be appreciated?










share|improve this question
























  • does E:\flutter\.pub-cache\hosted\pub.dartlang.org\collection-1.14.11\lib\collection.dart path exist? I'm not sure that path exist within linux normally
    – selharxets
    Nov 12 at 9:16










  • @selharxets actually, i'm using dual boot and that was my windows 8.1 path. In linux that should be /media/ilhamwahabigx/Work/flutter. I just been realize why it reference there
    – Ilham Wahabi GX
    Nov 12 at 9:31












  • some IDE config files and SDKs should not be shared between OS. You should reinstall SDK and omit any User/OS-specific config files
    – selharxets
    Nov 12 at 9:47










  • that's the weird thing, I had separate my config and SDKs. I wonder where I missed it
    – Ilham Wahabi GX
    Nov 12 at 10:05













up vote
1
down vote

favorite









up vote
1
down vote

favorite











This is my environment: OS: Linux Mint 19 Tara Cinnamon 64bit (based on Ubuntu 18.04)



$ 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!


This error appears in debug console when I click Debug > Start Debugging in Visual Studio 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'.
> 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)


Any help would be appreciated?










share|improve this question















This is my environment: OS: Linux Mint 19 Tara Cinnamon 64bit (based on Ubuntu 18.04)



$ 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!


This error appears in debug console when I click Debug > Start Debugging in Visual Studio 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'.
> 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)


Any help would be appreciated?







java android gradle visual-studio-code flutter






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 12 at 12:37









Bsquare

2,23511029




2,23511029










asked Nov 12 at 8:49









Ilham Wahabi GX

3010




3010












  • does E:\flutter\.pub-cache\hosted\pub.dartlang.org\collection-1.14.11\lib\collection.dart path exist? I'm not sure that path exist within linux normally
    – selharxets
    Nov 12 at 9:16










  • @selharxets actually, i'm using dual boot and that was my windows 8.1 path. In linux that should be /media/ilhamwahabigx/Work/flutter. I just been realize why it reference there
    – Ilham Wahabi GX
    Nov 12 at 9:31












  • some IDE config files and SDKs should not be shared between OS. You should reinstall SDK and omit any User/OS-specific config files
    – selharxets
    Nov 12 at 9:47










  • that's the weird thing, I had separate my config and SDKs. I wonder where I missed it
    – Ilham Wahabi GX
    Nov 12 at 10:05


















  • does E:\flutter\.pub-cache\hosted\pub.dartlang.org\collection-1.14.11\lib\collection.dart path exist? I'm not sure that path exist within linux normally
    – selharxets
    Nov 12 at 9:16










  • @selharxets actually, i'm using dual boot and that was my windows 8.1 path. In linux that should be /media/ilhamwahabigx/Work/flutter. I just been realize why it reference there
    – Ilham Wahabi GX
    Nov 12 at 9:31












  • some IDE config files and SDKs should not be shared between OS. You should reinstall SDK and omit any User/OS-specific config files
    – selharxets
    Nov 12 at 9:47










  • that's the weird thing, I had separate my config and SDKs. I wonder where I missed it
    – Ilham Wahabi GX
    Nov 12 at 10:05
















does E:\flutter\.pub-cache\hosted\pub.dartlang.org\collection-1.14.11\lib\collection.dart path exist? I'm not sure that path exist within linux normally
– selharxets
Nov 12 at 9:16




does E:\flutter\.pub-cache\hosted\pub.dartlang.org\collection-1.14.11\lib\collection.dart path exist? I'm not sure that path exist within linux normally
– selharxets
Nov 12 at 9:16












@selharxets actually, i'm using dual boot and that was my windows 8.1 path. In linux that should be /media/ilhamwahabigx/Work/flutter. I just been realize why it reference there
– Ilham Wahabi GX
Nov 12 at 9:31






@selharxets actually, i'm using dual boot and that was my windows 8.1 path. In linux that should be /media/ilhamwahabigx/Work/flutter. I just been realize why it reference there
– Ilham Wahabi GX
Nov 12 at 9:31














some IDE config files and SDKs should not be shared between OS. You should reinstall SDK and omit any User/OS-specific config files
– selharxets
Nov 12 at 9:47




some IDE config files and SDKs should not be shared between OS. You should reinstall SDK and omit any User/OS-specific config files
– selharxets
Nov 12 at 9:47












that's the weird thing, I had separate my config and SDKs. I wonder where I missed it
– Ilham Wahabi GX
Nov 12 at 10:05




that's the weird thing, I had separate my config and SDKs. I wonder where I missed it
– Ilham Wahabi GX
Nov 12 at 10:05

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53258576%2fcould-not-determine-the-dependencies-of-task-appflutterbuilddebug-when-start%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53258576%2fcould-not-determine-the-dependencies-of-task-appflutterbuilddebug-when-start%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Xamarin.iOS Cant Deploy on Iphone

Glorious Revolution

Dulmage-Mendelsohn matrix decomposition in Python