question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Flutter run window unable to show output when using the language pack plugin

See original GitHub issue

Steps to Reproduce

  1. Install a language pack (https://plugins.jetbrains.com/plugin/13710-chinese-simplified-language-pack----) and enable it.
  2. Install the Flutter plugin.
  3. Run a Flutter app.

Result: Unable to see the output in Flutter’s run window. image

There is also a related issue reported in the IDEA’s issue tracker: https://youtrack.jetbrains.com/issue/IDEA-256495

Version info

I can reproduce this issue in the IDEA 2020.3 (Flutter plugin version: 51.0.4, Chinese language pack plugin version: 203.500. The below info is provided from the Tools > Flutter > Flutter Doctor, but I have no idea why it failed to detect the IDEA 2020.3 in my local.

/home/clj/Downloads/flutter/bin/flutter doctor --verbose
[✓] Flutter (Channel stable, 1.22.4, on Linux, locale en_US.UTF-8)
    • Flutter version 1.22.4 at /home/clj/Downloads/flutter
    • Framework revision 1aafb3a8b9 (3 weeks ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /home/clj/SDK/android
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /home/clj/SDK/android
    • Java binary at: /usr/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/linux#android-setup for more details.

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[!] IntelliJ IDEA Ultimate Edition (version 2019.3)
    • IntelliJ at /home/clj/Soft/Toolbox/apps/IDEA-U/ch-0/193.7288.26
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[✓] Connected device (1 available)
    • Android SDK built for x86 64 (mobile) • emulator-5554 • android-x64 • Android 10 (API 29) (emulator)

! Doctor found issues in 3 categories.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
stevemessickcommented, May 13, 2021

Thanks! #5483

0reactions
floating-catcommented, May 13, 2021

A user here told that deleting the translated debugger.session.tab.console.content.name property in XDebuggerBundle.properties in language pack plugin helps. I haven’t tried it. But the original value of the debugger.session.tab.console.content.name is Console. You may check if the related flutter code uses hardcoded value like below (not sure if it is root cause) https://github.com/flutter/flutter-intellij/blob/f16fb41436ed8aa88e62a224fb84a511a5eca271/src/io/flutter/run/FlutterDebugProcess.java#L150

Read more comments on GitHub >

github_iconTop Results From Across the Web

Internationalizing Flutter apps
As of November 2020, this package supports 78 languages. To use flutter_localizations, add the package as a dependency to your pubspec.yaml file:.
Read more >
No option specified for the output directory error - Stack Overflow
Unable to create a flutter project: No option specified for the output directory error ; for the output directory. Create a new Flutter...
Read more >
easy_localization | Flutter Package - Pub.dev
Easy translations for many languages; Load translations as JSON, CSV, Yaml, Xml using Easy Localization Loader; React and persist to locale changes ...
Read more >
Analyze your build with APK Analyzer - Android Developers
On this page · View file and size information · View the AndroidManifest.xml · View DEX files · Filter the DEX file tree...
Read more >
Android Studio Bumblebee (2021.1.1) Stable
Run Instrumented Tests in Android Studio using Gradle: Have you ever run ... For more information see the Android Gradle Plugin DSL/API ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found