Strange behavior in profile mode
See original GitHub issueIf 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
flutter create app
- add launch.json, dependencies
- update
minSdkVersion: 18
- 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
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Personality Change: Causes, Diagnosis & Treatments
However, some people experience unusual or strange behavior for years, which may occur due to an illness or injury.
Read more >Mac Mini strange behavior in Recovery Mode
Proceeding to the recovery mode, to reinstall the macOS, gives me an error, indicating that the mouse or keyboard needs to be plugged...
Read more >Unexplained Windows or software behavior may be ...
This issue may occur when deceptive software, such as spyware that is known as "grayware," is installed on your computer. This kind of...
Read more >Strange behavior of tab-bar-mode and first-time ...
My understanding is that because I have no tabs and viable tab bar when loading the session, no tab bar code is run...
Read more >rig manger shows Crunch when that's not what I selected - ...
Here's my general workflow:Put Kemper if Performance mode Using Rig… ... From the laptop, copy the profile and paste into slot one of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Great! The next planned release will be around the end of the month, so you should stick on this version until then (and if anything comes up in the meantime, let me know so we can address it before releasing). Thanks!
Please try out the build here:
https://github.com/Dart-Code/Dart-Code/releases/tag/v3.13.0-alpha.1
It should solve this issue. It’s safe to stick on that version if it works - when v3.13 release stable, you’ll be automatically upgraded back to the stable versions.
If you still see the issue (or notice any new issues that may be caused by the fix), please let me know!