Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error updating flutter sdk in intelli j #1099

Closed
pilotpat opened this issue Jun 8, 2017 · 3 comments
Closed

Error updating flutter sdk in intelli j #1099

pilotpat opened this issue Jun 8, 2017 · 3 comments
Labels
waiting for customer response Auto-close if no response
Milestone

Comments

@pilotpat
Copy link

pilotpat commented Jun 8, 2017

Please file this bug report at https://github.com/flutter/flutter-intellij/issues/new.


What happened

Running Flutter update

Version information

IntelliJ IDEA 2017.1.4 • Flutter plugin 14.0 • Dart plugin 171.4424.63

Error getting Flutter sdk information.

Exception

Flutter device daemon #2: process exited during startup. Exit code: 1, stderr:
unzip: cannot find or open /Users/patw/Documents/flutter/bin/cache/dart-sdk.zip, /Users/patw/Documents/flutter/bin/cache/dart-sdk.zip.zip or /Users/patw/Documents/flutter/bin/cache/dart-sdk.zip.ZIP.

com.intellij.execution.ExecutionException: Flutter device daemon #2: process exited during startup. Exit code: 1, stderr:
unzip:  cannot find or open /Users/patw/Documents/flutter/bin/cache/dart-sdk.zip, /Users/patw/Documents/flutter/bin/cache/dart-sdk.zip.zip or /Users/patw/Documents/flutter/bin/cache/dart-sdk.zip.ZIP.

	at io.flutter.run.daemon.DeviceDaemon$Command.start(DeviceDaemon.java:222)
	at io.flutter.run.daemon.DeviceService.chooseNextDaemon(DeviceService.java:220)
	at io.flutter.utils.Refreshable.runInBackground(Refreshable.java:214)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
@pq
Copy link
Contributor

pq commented Jun 8, 2017

Thanks for the report! It looks like your flutter install isn't complete... Could you run flutter doctor in a terminal and paste in the results?

@pq pq added the waiting for customer response Auto-close if no response label Jun 8, 2017
@pq pq added this to the On Deck milestone Jun 8, 2017
@pilotpat pilotpat closed this as completed Jun 8, 2017
@pilotpat
Copy link
Author

pilotpat commented Jun 8, 2017

Thanks Phil, I looked at it closer and you are correct, the install was not correct. I just reinstalled it with a fresh pull and it worked properly. Thanks.

@pq
Copy link
Contributor

pq commented Jun 8, 2017

Great! This is good feedback all the same since it's clear we can do a bit better at detecting and communicating around the installation issues.

Thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for customer response Auto-close if no response
Projects
None yet
Development

No branches or pull requests

2 participants