Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: flutter/flutter
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f94f4fc
Choose a base ref
...
head repository: flutter/flutter
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ee80f08
Choose a head ref
  • 3 commits
  • 8 files changed
  • 3 contributors

Commits on Jul 8, 2026

  1. [stable] [flutter_tools] Fix native assets crash on Linux custom devi…

    …ces (#189088)
    
    This pull request is created by [automatic cherry pick workflow](https://github.com/flutter/flutter/blob/main/docs/releases/Flutter-Cherrypick-Process.md#automatically-creates-a-cherry-pick-request)
    Please fill in the form below, and a flutter domain expert will evaluate this cherry pick request.
    
    ### Issue Link:
    
    #187980
    
    ### Impact Description:
    
    When native assets are enabled on Linux, building asset bundles (e.g., `flutter build bundle` or running on custom devices without a native CMake build) crashes with a tool exit because `CMakeCache.txt` is missing.
    
    ### Changelog Description:
    
    [flutter/187980](#187980): On Linux, building asset bundles with native assets enabled without a native app build directory crashes due to missing `CMakeCache.txt`.
    
    ### Workaround:
    
    None for custom devices or bundle builds where CMake is not executed.
    
    ### Risk:
    What is the risk level of this cherry-pick?
    
    ### Test Coverage:
    Are you confident that your fix is well-tested by automated tests?
    
    ### Validation Steps:
    
    1. Enable native assets on Linux (`flutter config --enable-native-assets`).
    2. Run `flutter build bundle` in a project with a native asset hook.
    3. Verify that `flutter build bundle` succeeds without crashing due to missing `CMakeCache.txt`.
    bkonyi authored Jul 8, 2026
    Configuration menu
    Copy the full SHA
    4561c36 View commit details
    Browse the repository at this point in the history
  2. [CP-stable][tool] Don't require a Flutter compile task when staging j…

    …niLibs (#189075)
    
    This pull request is created by [automatic cherry pick workflow](https://github.com/flutter/flutter/blob/main/docs/releases/Flutter-Cherrypick-Process.md#automatically-creates-a-cherry-pick-request)
    Please fill in the form below, and a flutter domain expert will evaluate this cherry pick request.
    
    ### Issue Link:
    #189049
    #188785
    
    ### Impact Description:
    Fixes a compile time crash of [android instrumented tests](https://developer.android.com/training/testing/instrumented-tests) (e.g. `assembleDebugAndroidTest`, which is relied upon by our packages tests and some ecosystem members such as patrol).
    
    ### Changelog Description:
    Fixes a breakage of [android instrumented tests](https://developer.android.com/training/testing/instrumented-tests) (e.g. `assembleDebugAndroidTest`, which is relied upon by our packages tests and some ecosystem members such as patrol).
    
    < Replace with changelog description here >
    [flutter/188805] Fixes a crash when running android instrumented tests.
    
    ### Workaround:
    No.
    
    ### Risk:
    What is the risk level of this cherry-pick?
    
    ### Test Coverage:
    Are you confident that your fix is well-tested by automated tests?
    
    ### Validation Steps:
    What are the steps to validate that this fix works?
    
    Explained in detail in #188785
    but in short, go to your flutter/packages checkout, cd to the camera example app and run
    ```
    flutter build apk --debug --config-only
    cd android
    ./gradlew app:assembleAndroidTest -Pverbose=true
    ```
    flutteractionsbot authored Jul 8, 2026
    Configuration menu
    Copy the full SHA
    a54cf4c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ee80f08 View commit details
    Browse the repository at this point in the history
Loading