Skip to content

Use google_rlkit_translation, the Android package size has increased by 30MB #656

@hhzhangzy

Description

@hhzhangzy

Hi, When using google_rlkit_translation plugin for Android engineering and Flutter build apk, I found that the package size increased by about 30MB. Is there any optimization plan?

flutter doctor
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.13.2, on Microsoft Windows [版本 10.0.22631.3880], locale zh-CN)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[X] Visual Studio - develop Windows apps
X Visual Studio not installed; this is necessary to develop Windows apps.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2022.2)
[√] Android Studio (version 2023.2)
[√] Connected device (4 available)
[√] Network resources

! Doctor found issues in 1 category.

Metadata

Metadata

Assignees

No one assigned

    Labels

    App sizeIssues related to increased app size by modelsOn-Device TranslationIssues corresponding to On-Device Translation API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions