Repository navigation
ci: pin the Android emulator to 37.2.13 - #265
Merged
Merged
Conversation
Every Android bridge-example job fails since the runner picked up
emulator 37.3.10: the APK builds and the first integration test passes,
then the emulator dies as the test finishes, so flutter test reports
"0 tests passed. No tests were found" and exits 79, and the emulator
is gone ("could not connect to TCP port 5554") by the cleanup step.
The last passing run (#263) used emulator 37.2.13 with the same
google_atd API 33 system image (revision 2). android-emulator-runner
installs the latest stable emulator unless emulator-build is set, so pin
build 16740729 (37.2.13).
FeodorFitsner
added a commit
to flet-dev/flet
that referenced
this pull request
Nov 29, 2026
With emulator 37.3.10, which android-emulator-runner installs by default, the device drops right after the app starts or a test ends: the android (py3.14) job failed with "registerService: (-32000) Service connection disposed" after the APK installed. serious-python's Android jobs failed the same way on every run until emulator-build pinned 37.2.13 (build 16740729, flet-dev/serious-python#265).
FeodorFitsner
added a commit
to flet-dev/flet
that referenced
this pull request
Nov 30, 2026
…#7156) * chore: bump Flutter to 3.50.1; Android builds on AGP 9.3.1 and JDK 21 Flutter 3.50 rejects Android Gradle Plugin versions below 9.1.1, Kotlin below 2.4.10 and Gradle below 9.3.1 (DependencyVersionChecker.kt), so the client and the `flet build` template move to the versions in Flutter's own 3.50.1 app template: AGP 9.3.1, Kotlin 2.4.20 and Gradle 9.5.0. * Keep the old AGP DSL and the Kotlin Gradle Plugin With AGP 9's defaults (android.newDsl=true, android.builtInKotlin=true), android_file_picker 2.1.1 fails to configure: it looks up the old `LibraryExtension`. Flutter's app template sets both properties to false for plugin compatibility; the client does the same, and get_android_gradle_properties() adds them to the template's defaults, still overridable in [tool.flet.android.gradle_properties]. Flutter warns that pasteboard, rive_native and webview_flutter_android apply the Kotlin Gradle Plugin themselves, which a future Flutter release will reject. * Install JDK 21 for Android builds AGP 9.3.1's lintVital tasks call List.removeLast(), a Java 21 API, so every release build failed on JDK 17 with "Unexpected failure during lint analysis" (NoSuchMethodError, first in camera_android_camerax). flet-cli now installs Temurin 21.0.13.1+2 instead of 17.0.13+11. Java 17 stays the compile target. Temurin 21 has no 32-bit ARM Linux build. Flutter 3.50 ships Dart 3.14.0; `flutter analyze` reports no new issues in the client, packages/flet or the extensions. The client lock picks up the SDK-pinned clock, stack_trace, test_api and listen, and Flutter 3.50 sorts the generated plugin registrants differently. Verified: client `flutter build apk --debug` and `--release` (JDK 21, no R8 warnings), web, macOS debug, iOS simulator debug, and `flet build apk` from the local template with flet-video, flet-webview, flet-secure-storage and flet-audio-recorder. * Link the PR in the changelogs * Bump serious_python to 6.1.4 serious_python 6.1.4 gives each Android download task its own ETag cache (flet-dev/serious-python#264). The six per-ABI download tasks run concurrently and shared one etags.json, so on a cold download cache a task could parse the file while another rewrote it, failing every Android `flet build` job on this branch with "Unable to determine the current character, it is not a string, number, array, or object". * ci: pin the Android emulator to 37.2.13 in flet test With emulator 37.3.10, which android-emulator-runner installs by default, the device drops right after the app starts or a test ends: the android (py3.14) job failed with "registerService: (-32000) Service connection disposed" after the APK installed. serious-python's Android jobs failed the same way on every run until emulator-build pinned 37.2.13 (build 16740729, flet-dev/serious-python#265). * Drop the Debian 10 and Ubuntu 20.04 Linux client builds The Dart SDK in Flutter 3.50.1 needs glibc 2.34 on ARM64 (Ubuntu 20.04 ARM64 failed with "GLIBC_2.34 not found"), so the Linux client can no longer be built on Ubuntu 20.04. Debian 10 goes too, leaving Ubuntu 22.04 (glibc 2.35) as the oldest build on both architectures. - ci.yml: remove the Debian 10 AMD64 and Ubuntu 20.04 AMD64/ARM64 matrix entries and the Debian 10 archive-mirror apt setup. - flet-desktop: drop debian10 and ubuntu20.04 from _GLIBC_DISTRO_TABLE. A system with glibc older than 2.35 now gets "Flet desktop client for Linux <arch> requires glibc 2.35 or newer". Tests use ubuntu22.04 where they used ubuntu20.04 and check the error for glibc 2.28, 2.31 and 2.34 on both architectures. - Docs: supported distros in the installation guide, the FLET_LINUX_DISTRO build table, and the Rocky/AlmaLinux 9 and libmpv1 notes in the Video docs and the flet-audio/flet-video READMEs. * Fix the Build Docs checks: Gauge chart images and Dropdown cross-references - gaugechart.md pointed example_images at test-images-charts/..., which doesn't exist, so the page's three images were broken. Use the path the other chart pages use, test-images/examples/extensions/charts/golden/ macos/gauge_chart, where the golden images are. - The Dropdown docstrings used :attr:`width` and :attr:`expand`, which Dropdown inherits. The xref map lists inherited members only under the class that defines them, so the roles rendered as raw text and failed the unresolved reST cross-reference check. Point them at flet.LayoutControl.width and flet.Control.expand. `yarn build` now passes every docs check. * Fix desktop resize teardown and retain Ubuntu 20.04 AMD64 support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Every Android bridge-example job has failed since the runners picked up Android emulator 37.3.10, on #264 and on
main(run 46290133173).The APK builds and the first integration test passes. Then the emulator dies the moment the test finishes, so
flutter testreports0 tests passed. No tests were foundand exits 79. By the cleanup step the emulator is gone (could not connect to TCP port 5554).mainnow (fails)android-emulator-runnerinstalls the latest stable emulator unlessemulator-buildis set, so this pins build 16740729 (37.2.13). The zip is still served from dl.google.com, although the SDK repository no longer lists it.This PR's own Android jobs are the test.