kivy-school / kivy-reloader

Hot reload your Kivy app on multiple phones and computer in real-time.
MIT License
15 stars 1 forks source link

TODO #6

Open AccelQuasarDragon opened 6 months ago

AccelQuasarDragon commented 6 months ago

use right python export QT_QPA_PLATFORM=offscreen wsl --update

sudo apt install x11-apps (ded)

WindowManager: WIN DEATH: Window{eb1a8f5 u0 org.example.kivy_super_reloader/org.kivy.android.PythonActivity}

chocolatey install cygwin install vcxsrv https://askubuntu.com/questions/993225/whats-the-easiest-way-to-run-gui-apps-on-windows-subsystem-for-linux install adb on ubuntu?? adb everything on wsl adb install bin/kivy_super_reloader-0.1-arm64-v8a-debug.apk install scrcpy TURN ON AND OFF YOUR PHONE revoke usb debugging usb debugging on/off https://xdaforums.com/t/solved-unable-to-access-with-adb-no-rsa-fingerprint-key-window.2830087/

check ur cable > DOESNT WORK ON MY USB HUB, CONNECT TO PC DIRECTLY

magic history, only 1 wsl works for some reason https://www.howtogeek.com/339665/how-to-find-your-android-devices-info-for-correct-apk-downloads/

when things go wrong: adb logcat > logs.txt buildozer android clean

already died here WindowManager: WIN DEATH: Window{eb1a8f5 u0 org.example.kivy_super_reloader/org.kivy.android.PythonActivity}

WINDOWS > WINAPI.py on watchdog suspects: get_directory_handle _parse_event_buffer read_directory_changes

answer: watchdog only does directories, to watch for files just give it a pattern matching

"Here with help of PatternMAtchingEventHandler we can take advantage of processing just events related with files with the .csv extension. "

https://www.geeksforgeeks.org/create-a-watchdog-in-python-to-look-for-filesystem-changes/