Skip to content

[Bug report] Can't run in profile mode #147

@ced1check

Description

@ced1check

Version

1.2.0

Platforms

Windows

Device Model

Any

flutter info

[!] Flutter (Channel [user-branch], 3.22.3, on Microsoft Windows [version 10.0.26100.3775], locale fr-FR)
    ! Flutter version 3.22.3 on channel [user-branch] at D:\flutter
      Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b0850beeb2 (9 months ago), 2024-07-16 21:43:41 -0700
    • Engine revision 235db911ba
    • Dart version 3.4.4
    • DevTools version 2.34.3
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[√] Windows Version (Installed version of Windows is version 10 or higher)

[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at D:\android_sdk
    X cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[!] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.13.6)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.13.35931.197
    X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop development with C++" workload, and include these components:
        MSVC v142 - VS 2019 C++ x64/x86 build tools
         - If there are multiple build tool versions available, install the latest
        C++ CMake tools for Windows
        Windows 10 SDK

[√] Android Studio (version 2023.2)
    • Android Studio at C:\Program Files\Android\Android Studio1
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874)

[√] Android Studio (version 2024.2)
    • Android Studio at C:\Program Files\Android\Android Studio2
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.4+-12508038-b607.1)

[√] VS Code, 64-bit edition (version 1.96.4)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.108.0

[√] Connected device (4 available)
    • BV4900 (mobile)   • BV4900EEA0089943 • android-arm64  • Android 10 (API 29)
    • Windows (desktop) • windows          • windows-x64    • Microsoft Windows [version 10.0.26100.3775]
    • Chrome (web)      • chrome           • web-javascript • Google Chrome 135.0.7049.85
    • Edge (web)        • edge             • web-javascript • Microsoft Edge 135.0.3179.73

[√] Network resources
    • All expected network resources are available.

! Doctor found issues in 3 categories.

How to reproduce?

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':image_editor_common:verifyProfileResources'.

A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
Android resource linking failed
ERROR:AAPT: aapt2.exe E 04-16 09:49:05 21940 11836 LoadedArsc.cpp:94] RES_TABLE_TYPE_TYPE entry offsets overlap actual entry data.
aapt2.exe E 04-16 09:49:05 21940 11836 ApkAssets.cpp:149] Failed to load resources table in APK 'D:\android_sdk\platforms\android-35\android.jar'.
error: failed to load include path D:\android_sdk\platforms\android-35\android.jar.

Logs

Example code (optional)

Contact

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions