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

Android Studio run won't find callback when cable unpluged #444

Open
RicardoGSGraca opened this issue Nov 10, 2022 · 2 comments
Open

Android Studio run won't find callback when cable unpluged #444

RicardoGSGraca opened this issue Nov 10, 2022 · 2 comments

Comments

@RicardoGSGraca
Copy link

While using Android Studio, if you run the application when clicking the Run button (green arrow on top) it will compile, install and run the application and everything works, but as soon as you unplug the cable (or sever the connection with Android Studio) all scheduled functions will just not run. Although if you kill the application and run it from the smartphone normally, everything works as planned.

Also using flutter run, or install the application via adb (debug or release) and then run it from the smartphone works as expected.

@jwadin
Copy link

jwadin commented Nov 25, 2022

I'm also experiencing this issue.

@SoftWyer
Copy link

SoftWyer commented Apr 4, 2023

It's probably due to the way Dart works with the IDE. Isolates are paused when the debugger is disconnected, see this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants