Skip to content

Testing Flet on Android

Feodor Fitsner edited this page Nov 25, 2023 · 4 revisions

Get available devices:

~/Library/Android/sdk/platform-tools/adb devices

Opening Flet app on Android:

~/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell 'am start -W -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d "flet://flet-host/http%3A%2F%2F192.168.1.79%3A8551%2Fplayground%2Fcounter-py"'

Open Logcat in Android Studio:

View -> Tool windows -> Logcat

Deploy device-specific APK to a connected device:

~/Library/Android/sdk/platform-tools/adb -s <device> install-multiple base.apk config.en.apk config.arm64_v8a.apk