Skip to content

Unpack cached code on Android to the getCodeCacheDir() directory, rather than the user data directory #14704

@mehmetf

Description

@mehmetf

This is hello_world example installed via

flutter run --release

on a Pixel 2.

image

Data portion takes 13.5 megabytes.

image

It can be erased but it regenerates when the apps runs.

Compare that to the basic calculator app that takes an order of magnitude less space:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: performanceRelates to speed or footprint issues (see "perf:" labels)engineflutter/engine related. See also e: labels.platform-androidAndroid applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions