Skip to content

Strange behavior in profile mode #2586

@Goolpe

Description

@Goolpe

If I run profile mode with launch.json sometimes the app gets stuck on the splash screen with these dependencies.
flutter run --profile works fine

launch.json
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Flutter (Profile)",
            "request": "launch",
            "type": "dart",
            "flutterMode": "profile"
        }
    ]
}
Dependencies
dependencies:
  flutter:
    sdk: flutter
  flutter_secure_storage: ^3.3.3
  yandex_mapkit: ^0.3.9

Steps to Reproduce

  1. flutter create app
  2. add launch.json, dependencies
  3. update minSdkVersion: 18
  4. start debugging (F5)
flutter doctor -v
[✓] Flutter (Channel beta, 1.19.0-4.2.pre, on Linux, locale ru_RU.UTF-8)
    • Flutter version 1.19.0-4.2.pre at /home/ads/flutter
    • Framework revision 9b9b543d92 (4 дня назад), 2020-06-22 12:19:28 -0700
    • Engine revision 9a28c3bcf4
    • Dart version 2.9.0 (build 2.9.0-14.1.beta)

 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /home/ads/Android/Sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /snap/android-studio/84/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Android Studio (version 3.6)
    • Android Studio at /snap/android-studio/84/android-studio
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] IntelliJ IDEA Community Edition (version 2019.3)
    • IntelliJ at /home/ads/idea
    • Flutter plugin version 44.0.3
    • Dart plugin version 193.6911.25

[✓] VS Code (version 1.42.1)
    • VS Code at /usr/share/code
    • Flutter extension version 3.8.1

[✓] Connected device (3 available)
    • ZTE BLADE A0622 • 320376181424 • android-arm    • Android 7.1.1 (API 25)
    • Web Server      • web-server   • web-javascript • Flutter Tools
    • Chrome          • chrome       • web-javascript • Google Chrome 80.0.3987.116

• No issues found!
console logs
Running "flutter pub get" in example...                             0,4s
Launching lib/main.dart on ZTE BLADE A0622 in profile mode...
✓ Built build/app/outputs/flutter-apk/app-profile.apk (56.5MB).
Installing build/app/outputs/flutter-apk/app.apk...                12,4s
W/yandex.maps(28793): yandex::maps::runtime::locale::internal::detectCountry: Empty operatorInfo!
W/FlutterActivity(28793): Tried to automatically register plugins with FlutterEngine (io.flutter.embedding.engine.FlutterEngine@f5bd25e) but could not find and invoke the GeneratedPluginRegistrant.
W/yandex.maps(28793): yandex::maps::runtime::locale::internal::detectCountry: Empty operatorInfo!
I/OpenGLRenderer(28793): Initialized EGL, version 1.4
D/OpenGLRenderer(28793): Swap behavior 1
V/BoostFramework(31722): mAcquireFunc method = public int com.qualcomm.qti.Performance.perfLockAcquire(int,int[])
V/BoostFramework(31722): mReleaseFunc method = public int com.qualcomm.qti.Performance.perfLockRelease()
V/BoostFramework(31722): mAcquireTouchFunc method = public int com.qualcomm.qti.Performance.perfLockAcquireTouch(android.view.MotionEvent,android.util.DisplayMetrics,int,int[])
V/BoostFramework(31722): mIOPStart method = public int com.qualcomm.qti.Performance.perfIOPrefetchStart(int,java.lang.String)
V/BoostFramework(31722): mIOPStop method = public int com.qualcomm.qti.Performance.perfIOPrefetchStop()
V/BoostFramework(31722): BoostFramework() : mPerf = com.qualcomm.qti.Performance@cf8f0e

Metadata

Metadata

Assignees

No one assigned

    Labels

    in debuggingRelates to the debug adapter or process of running debug sessionsin flutterRelates to running Flutter appsis bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions