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

In Windows release, you cannot use #16

Closed
ZhangZhengzz opened this issue Sep 23, 2021 · 10 comments
Closed

In Windows release, you cannot use #16

ZhangZhengzz opened this issue Sep 23, 2021 · 10 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@ZhangZhengzz
Copy link

In Windows release, you cannot use

@point-source
Copy link
Owner

Gonna need a lot more information than that.

What version of windows? What version of dart_ping? What type of ping are you trying to run? Can you share a snippet of your code? Are you using this in pure dart or as part of a flutter app? What error are you getting when you try it?

Everyone's environment is different and this has big impacts on how things work. I can't read your mind or predict your environment. Please be more detailed about your reports. It goes a long way. Thanks

@ZhangZhengzz
Copy link
Author

dart_ping: ^6.1.1
window10
I tried to open exe from a local file, then a doc command window appeared, and then I couldn't get Ping data. But I don't think this will happen when Android studio runs windows. Other devices have no problems in the debug or release versions, but there will be problems in the windows release or manually clicking the generated exe.

@ZhangZhengzz
Copy link
Author

It is easy to open through the compilation tool, but if you manually open the generated exe, the doc command will appear and the data cannot be obtained. I created a stand-alone flutter application

1 similar comment
@ZhangZhengzz
Copy link
Author

It is easy to open through the compilation tool, but if you manually open the generated exe, the doc command will appear and the data cannot be obtained. I created a stand-alone flutter application

@ZhangZhengzz
Copy link
Author

6e8dddb5db24252c3ba371a041663fb
Uploading 193139f2438ad26b7f5fbf1bcc8cb60.png…

@ZhangZhengzz
Copy link
Author

193139f2438ad26b7f5fbf1bcc8cb60

@point-source
Copy link
Owner

Thanks for the additional context. I will test this locally and get back to you

@Vonarian
Copy link

@point-source any update? I can't release the app :(

@boganiLuca
Copy link

This seems to be an issue with Flutter itself more than a package problem: I found different issues in github that speak of this.
I followed the advice here and it solved the problem for me, so maybe it can help you too @Vonarian

@Vonarian
Copy link

@boganiLuca Sorry I didn't update my comment.
I already have solved my issue with that fix to main.cpp :D
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants