Published November 25, 2026

Stingray 1 Canary 3 Pushes AGP 9.6.0-alpha06 and Fixes a Silent Prefab Failure

Android Studio Stingray 1 Canary 3 shipped on November 24, carrying Android Gradle Plugin 9.6.0-alpha06. The same day, Rabbit 3 RC 2 arrived on the Beta channel, which puts the beta line one release away from stable while the canary line keeps advancing a minor AGP version ahead of it.

Most of the changelog is the usual canary noise. One entry is not: a Prefab task that declared an output file it never wrote, so consumers of Prefab packages silently lost the library after a clean build and then failed at link time.

Why the Prefab fix matters beyond Android

Prefab is how an Android library ships prebuilt native code with a stable description of what it exports. Any Flutter plugin with a C or C++ dependency, whether it wraps a media codec, a database, or a compression library, ends up in that path.

The failure mode described in issue 551999754 is nasty because of when it appears. Incremental builds work. CI works. Then someone runs gradlew clean on a fresh machine and linking fails with a missing symbol, and the build log points at the plugin rather than at the Gradle task that never produced the file.

For plugin authors this is worth tracking even if you never open Android Studio. A bug in the toolchain becomes a bug report in your repository, and the fastest way to close it is to know that AGP 9.6.0-alpha06 fixed it rather than guessing at a CMake configuration mistake.

  • Issue 551999754: PrefabPackageConfigurationTask declared an output it never wrote, so clean builds lost the library.
  • Issue 586849342: com.android.test did not rewrite references to tested-app classes reached through testFixtures() when applying mapping.
  • Issue 585534512: K2 lint reported a false "Unexpected constant" for IntDef constants declared in a companion object of a binary dependency.

The lint false positive is a CI problem

The K2 lint entry looks minor and is not. Teams that treat lint warnings as errors, which is the sane default for a library, saw a SwitchIntDef warning they could not fix because the annotation was in a dependency they did not control. The only workarounds were a suppression comment or a downgraded lint config, and both leak into the codebase permanently.

That pattern repeats every time a compiler or analyser gets stricter. The Flutter toolchain went through the same cycle with analyzer plugins, and the lesson is identical: pin the tool version in CI, upgrade on purpose, and treat a new warning as a finding rather than noise to be silenced.

The fourth item on the list is smaller and more pleasant. Running Devices picked up a request to place the DPAD and Extended Controls near the TV emulator UI, which is a usability fix for anyone testing a Flutter app on a television form factor. Android TV and Google TV targets have never been comfortable to test, and reducing the clicks between the emulator and its directional pad is real work even if it is not a headline.

Reading the two releases together tells you where the branch is. Rabbit 3 at RC 2 means the beta channel is in the final polish phase before stable, so the interesting changes are bug fixes rather than features. Stingray 1 at Canary 3 is five releases into a line that will not ship for months, and its AGP alpha is where the next round of build system changes gets exercised.

For a Flutter team, the practical question is not whether to install a canary. It is whether your AGP version is inside the window Google supports. The three year compatibility policy announced earlier this month means old AGP versions keep working for a defined period, but a Flutter plugin that requires a newer Gradle API can still force an upgrade earlier than the policy suggests.

If your project builds plugins with native code, the cheap test is a clean clone plus a full build on a fresh Gradle cache once a month. That single job catches the Prefab class of bug, the missing manifest class, and the cached artifact that only exists on the machine of the person who created it.

The closed issues page for the 2026.3.1 line is where the full list lives, and it is worth a read before upgrading a production project. Canary builds are for finding out what breaks, not for shipping, and this week they found something that would have been very hard to diagnose from a stack trace alone.