flutter-intellij
flutter-intellij copied to clipboard
Could you please split console view into build view and app view ?
Thanks for the feedback! If your issue is related to the Flutter framework itself, please open an issue at github.com/flutter/flutter.
Steps to Reproduce
The problem happens where I build my project for native the information from the build process get entageled with the app running process. This is quite innioying when observing for prints in the app.
IE:
The plugin `flutter_webview_plugin` uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.
Launching lib\main.dart on SM T515 in debug mode...
Running Gradle task 'assembleDebug'...
I/flutter ( 4990): MWorkMap getLoc() location.locationChange.listen location=[61.9026794,6.7005005], alt=6.5, acc=7.165999889373779, provider=fused, time=1641470685000.0
I/flutter ( 4990): MWorkMap build: _initialCameraPosition : LatLng(61.9026794, 6.7005005)
I/flutter ( 4990): MWorkMap getLoc() location.locationChange.listen location=[61.9026794,6.7005005], alt=6.5, acc=7.083000183105469, provider=fused, time=1641470688000.0
I/flutter ( 4990): MWorkMap build: _initialCameraPosition : LatLng(61.9026794, 6.7005005)
I/flutter ( 4990): MWorkMap getLoc() location.locationChange.listen location=[61.9026835,6.7004911], alt=6.2, acc=6.915999889373779, provider=fused, time=1641470691000.0
I/flutter ( 4990): MWorkMap build: _initialCameraPosition : LatLng(61.9026835, 6.7004911)
I/flutter ( 4990): MWorkMap getLoc() location.locationChange.listen location=[61.9026861,6.7004649], alt=6.3, acc=7.083000183105469, provider=fused, time=1641470694000.0
I/flutter ( 4990): MWorkMap build: _initialCameraPosition : LatLng(61.9026861, 6.7004649)
I/flutter ( 4990): MWorkMap getLoc() location.locationChange.listen location=[61.9026881,6.7004535], alt=6.3, acc=7.415999889373779, provider=fused, time=1641470697000.0
I/flutter ( 4990): MWorkMap build: _initialCameraPosition : LatLng(61.9026881, 6.7004535)
I/flutter ( 4990): MWorkMap getLoc() location.locationChange.listen location=[61.9026878,6.7004501], alt=6.3, acc=7.199999809265137, provider=fused, time=1641470700000.0
I/flutter ( 4990): MWorkMap build: _initialCameraPosition : LatLng(61.9026878, 6.7004501)
I/flutter ( 4990): MWorkMap getLoc() location.locationChange.listen location=[61.9026878,6.7004491], alt=6.3, acc=7.415999889373779, provider=fused, time=1641470703000.0
I/flutter ( 4990): MWorkMap build: _initialCameraPosition : LatLng(61.9026878, 6.7004491)
I/flutter ( 4990): MWorkMap getLoc() location.locationChange.listen location=[61.9026702,6.7004583], alt=7.0, acc=7.915999889373779, provider=fused, time=1641470706000.0
I/flutter ( 4990): MWorkMap build: _initialCameraPosition : LatLng(61.9026702, 6.7004583)
I/flutter ( 4990): MWorkMap getLoc() location.locationChange.listen location=[61.9026667,6.7004878], alt=7.0, acc=7.75, provider=fused, time=1641470709000.0
I/flutter ( 4990): MWorkMap build: _initialCameraPosition : LatLng(61.9026667, 6.7004878)
I/flutter ( 4990): MWorkMap getLoc() location.locationChange.listen location=[61.9026668,6.7004813], alt=7.2, acc=7.599999904632568, provider=fused, time=1641470712000.0
I/flutter ( 4990): MWorkMap build: _initialCameraPosition : LatLng(61.9026668, 6.7004813)
I/flutter ( 4990): MWorkMap getLoc() location.locationChange.listen location=[61.902662,6.7004497], alt=8.1, acc=7.583000183105469, provider=fused, time=1641470715000.0
I/flutter ( 4990): MWorkMap build: _initialCameraPosition : LatLng(61.902662, 6.7004497)
I/flutter ( 4990): MWorkMap getLoc() location.locationChange.listen location=[61.9026577,6.7004522], alt=8.1, acc=7.400000095367432, provider=fused, time=1641470718000.0
I/flutter ( 4990): MWorkMap build: _initialCameraPosition : LatLng(61.9026577, 6.7004522)
I/flutter ( 4990): MWorkMap getLoc() location.locationChange.listen location=[61.9026577,6.7004528], alt=8.1, acc=7.75, provider=fused, time=1641470721000.0
I/flutter ( 4990): MWorkMap build: _initialCameraPosition : LatLng(61.9026577, 6.7004528)
√ Built build\app\outputs\flutter-apk\app-debug.apk.
Installing build\app\outputs\flutter-apk\app.apk...
W/FlutterActivityAndFragmentDelegate(11526): A splash screen was provided to Flutter, but this is deprecated. See flutter.dev/go/android-splash-migration for migration steps.
D/FlutterLocationService(11526): Creating service.
D/FlutterLocationService(11526): Binding to location service.
Debug service listening on ws://127.0.0.1:55132/tt6U3avsWAs=/ws
Syncing files to device SM T515...
I/flutter (11526): PersistentNative _appDatabase = Instance of '_$AppDatabase'
I/flutter (11526): MWork userCountry = 47, userFirm = 10, userOffice = 212
I/flutter (11526): MWork build initialRoute for 47 = /homePage
I/flutter (11526): MWorkMap getLoc(): Checking if location service is available
I/flutter (11526): MWorkMap build: _initialCameraPosition : LatLng(0.0, 0.0)
I/flutter (11526): getOrders(): frmNo = 10
I/flutter (11526): getOrders(): officeNoString = 212
I/flutter (11526): getFirmsOfficesWork(): waiting for _getPreparedMworkApi()
I/Dialog (11526): mIsSamsungBasicInteraction = false, isMetaDataInActivity = false
Alos missing a better search / filter tool as in LogCat as Android Kotlin/Java sceanrios..., or simply make LogCat available with the flutter plugin. Now I can observe flutter programs with logcat from another session/version of Android Studio ...
Version info
PS C:\flutterprojects\mwork> flutter doctor -v
[√] Flutter (Channel beta, 2.9.0-0.1.pre, on Microsoft Windows [Version 10.0.19043.1415], locale nb-NO)
• Flutter version 2.9.0-0.1.pre at c:\Flutter\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 8f1f9c10f0 (3 weeks ago), 2021-12-14 13:41:48 -0800
• Engine revision 234aca678a
• Dart version 2.16.0 (build 2.16.0-80.1.beta)
• DevTools version 2.9.1
[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
• Android SDK at C:\Users\RoarGronmo\AppData\Local\Android\sdk
• Platform android-32, build-tools 32.0.0
• Java binary at: C:\Program Files\Android Studio\Android Studio 2021.2.1.3\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.3)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.11.31702.278
• Windows 10 SDK version 10.0.19041.0
[√] Android Studio (version 2020.3)
• Android Studio at C:\Program Files\Android Studio\Android Studio 2020.3.1.26
• 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 11.0.10+0-b96-7249189)
[√] Android Studio (version 2020.3)
• Android Studio at C:\Program Files\Android Studio\Android Studio 2020.3.1.16
• 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 11.0.10+0-b96-7249189)
[√] Android Studio (version 2021.1)
• Android Studio at C:\Program Files\Android Studio\Android Studio 2021.1.1.1
• 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 11.0.10+0-b96-7249189)
[√] Android Studio (version 2021.2)
• Android Studio at C:\Program Files\Android Studio\Android Studio 2021.2.1.3
• 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 11.0.12+7-b1504.28-7817840)
[√] Connected device (4 available)
• SM T515 (mobile) • R52NB09L7ZP • android-arm • Android 11 (API 30)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19043.1415]
• Chrome (web) • chrome • web-javascript • Google Chrome 97.0.4692.71
• Edge (web) • edge • web-javascript • Microsoft Edge 96.0.1054.57
• No issues found!
PS C:\flutterprojects\mwork>
Please paste the output of running flutter doctor -v here (available from the command
line or from Tools > Flutter > Flutter Doctor). It will provide the version of the
Flutter framework as well as of the IntelliJ plugin.