-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Can't run example app #3
Comments
Hi @gcostaapps thank you for your attention. What happened when you run the example? |
@jiusanzhou , The example app had the buttons to start the floating items disabled, only the debug was enabled but it didn't work. When I try to run the code that I posted, I can run but when I click to create and start the windows nothing happens. |
The flutter engine for window needs a little bit time to get started. In the example, I registered a handle to set the button available while the created event emitted. If it's always unavailable, maybe there's something wrong. I tested the example in flutter 2, maybe the plugin doesn't work well in flutter 3. I will test it with flutter 3 on this weekend. |
@gcostaapps I found the issue, in the example forget to check and grant the permission. I have fixed it, you can try it. Thank you again. |
Hi @jiusanzhou , I've updated the code but the 'Open' button is still disabled. Even after I grant permission and tap the start button. Below are the logs
|
Hi @gcostaapps, According to the information in the log, it should be that the service failed to start. What version of android are you using? The normal log should be,
|
Hi @jiusanzhou , I've downloaded the entire library an ran the example app from that and it worked! I don't know if master version is different from pub (as I was using pub version) but since it's working here I can find what I need to do. Thanks for the support and this great package! |
Add the following line in your AndroidManifest.xml
|
Adding this |
@psovit Hi, did you get any errors? |
Hi @jiusanzhou , Yes, I am getting this error:
|
Ok, found the issue which has a simple fix. Converting
|
Hi, I downloaded your entire project from your repository, I run it in Flutter 2.5.3,buit it show these errors: But I can run it well in Flutter 3.3.3. |
Example Window not displayed: What is the reason for this? |
For people having trouble running the example app in the latest Flutter, it is working for me after upgrading Gradle config. See PR #23 |
Hi, great package!
I tried to run the example app and couldn't run it. So I've decided to create a minimal app based on the docs but couldn't run either.
I'm using the views for example folder and this is the code that I'm using for the main app
If I click in the play button, then plus, then minimize, these are the logs that I'm getting:
What am I doing wrong? The permission is added in the AndroidManifest and granted in the initState dialog.
I'm using Flutter 3.0 and created a new project.
The text was updated successfully, but these errors were encountered: