最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

windows subsystem for linux - Does Flet support Android target from WSL - Stack Overflow

programmeradmin4浏览0评论

Does Flet Support Android app development from WSL?

  1. flet run main.py is working fine from WSL and I can see the app live from Windows (display forwarding).

  2. flet run --web main.py also works fine with port forwarding and I can see the app on the Windows browser. But

  3. flet run --android main.py is not working. It launches the app with the QR code but when I scan it from Android nothing happens.

    1. The same works if I launch from Windows.
    2. I even tried typing the URL manually to add my app on the Flet app on Android, but nothing happens.
    3. I even tried adding the Windows IP address instead of WSL IP address with port forwarding enabled, but nothing happens.
    4. I tried /docs/publish/linux/#prerequisites, WSL section in this /docs/getting-started/ etc. Without and without Virtual environment. Nothing helps.

Am I missing something or is Android target not supported from WSL (Seems a bit off)?

I am on Ubuntu 24.04 (WSL) and Win11 Version 24H2 (OS Build 26100.3323)

发布评论

评论列表(0)

  1. 暂无评论