flutter / flutter-intellij

Flutter Plugin for IntelliJ
https://flutter.dev/using-ide
BSD 3-Clause "New" or "Revised" License
1.95k stars 311 forks source link

Flutter Outline says "Nothing to show" with new versions of everything #1827

Closed gazialankus closed 6 years ago

gazialankus commented 6 years ago

Steps to Reproduce

  1. Turn on "Enable Flutter Outline view" in Settings > Languages & Frameworks > Flutter.
  2. Restart IntelliJ.
  3. Create a new Flutter project.
  4. Flutter Outline stays as "Nothing to show" with no content.

I understand that other people have this working. Is there any way I can provide a log file to help diagnose the issue?

Version info

I tried both with the dev and the master channels.

λ flutter doctor -v [√] Flutter (Channel master, v0.1.6-pre.7, on Microsoft Windows [Version 10.0.16299.192], locale en-US) • Flutter version 0.1.6-pre.7 at C:\Installs\Flutter\flutter • Framework revision c3bbcb6f91 (23 hours ago), 2018-02-24 09:28:58 -0800 • Engine revision ead227f118 • Dart version 2.0.0-dev.28.0.flutter-0b4f01f759

[√] Android toolchain - develop for Android devices (Android SDK 27.0.3) • Android SDK at D:\Installs\Android\sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-27, build-tools 27.0.3 • ANDROID_HOME = D:\Installs\Android\sdk • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[√] Android Studio (version 3.0) • Android Studio at C:\Program Files\Android\Android Studio • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[√] IntelliJ IDEA Ultimate Edition (version 2017.3) • Flutter plugin version 22.0.2 • Dart plugin version 173.4548.30

[!] VS Code (version 1.17.2) • VS Code at C:\Program Files\Microsoft VS Code • Dart Code extension not installed; install from https://marketplace.visualstudio.com/items?itemName=Dart-Code.dart-code

[!] Connected devices ! No devices available

! Doctor found issues in 2 categories.

devoncarew commented 6 years ago

Thanks for reporting! Your flutter sdk is recent enough to contain the changes to support the outline view, so I'm assuming this is a windows issue. We'll do some investigation here.

gazialankus commented 6 years ago

Let me post the idea.log in case it has something useful

2018-02-25 21:16:01,656 [      0]   INFO -        #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------ 
2018-02-25 21:16:01,688 [     32]   INFO -     #com.intellij.util.ui.JBUI - User scale factor: 1.0 
2018-02-25 21:16:01,689 [     33]   INFO -     #com.intellij.util.ui.JBUI - System scale factor: 1.0 (IDE-managed HiDPI) 
2018-02-25 21:16:01,720 [     64]   INFO -        #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IU-173.4548.28, 30 Jan 2018 01:01) 
2018-02-25 21:16:01,720 [     64]   INFO -        #com.intellij.idea.Main - OS: Windows 10 (10.0, amd64) 
2018-02-25 21:16:01,720 [     64]   INFO -        #com.intellij.idea.Main - JRE: 1.8.0_152-release-1024-b11 (JetBrains s.r.o) 
2018-02-25 21:16:01,720 [     64]   INFO -        #com.intellij.idea.Main - JVM: 25.152-b11 (OpenJDK 64-Bit Server VM) 
2018-02-25 21:16:01,727 [     71]   INFO -        #com.intellij.idea.Main - JVM Args: -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djb.vmOptionsFile=C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.4\bin\idea64.exe.vmoptions -Xbootclasspath/a:C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.4\lib\boot.jar -Didea.jre.check=true -Dide.native.launcher=true -Didea.paths.selector=IntelliJIdea2017.3 -XX:ErrorFile=C:\Users\gazihan\java_error_in_idea_%p.log -XX:HeapDumpPath=C:\Users\gazihan\java_error_in_idea.hprof 
2018-02-25 21:16:01,731 [     75]   INFO -        #com.intellij.idea.Main - ForkJoinPool.commonPool: java.util.concurrent.ForkJoinPool@79b72c6e[Running, parallelism = 7, size = 0, active = 0, running = 0, steals = 0, tasks = 0, submissions = 0] 
2018-02-25 21:16:01,731 [     75]   INFO -        #com.intellij.idea.Main - ext: C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.4\jre64\lib\ext: [access-bridge-64.jar, cldrdata.jar, dnsns.jar, jaccess.jar, jfxrt.jar, localedata.jar, meta-index, nashorn.jar, sunec.jar, sunjce_provider.jar, sunmscapi.jar, sunpkcs11.jar, zipfs.jar] 
2018-02-25 21:16:01,731 [     75]   INFO -        #com.intellij.idea.Main - JNU charset: Cp1252 
2018-02-25 21:16:01,802 [    146]   INFO -        #com.intellij.idea.Main - JNA library (64-bit) loaded in 69 ms 
2018-02-25 21:16:01,808 [    152]   INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational 
2018-02-25 21:16:07,493 [   5837]   INFO - llij.ide.plugins.PluginManager - 134 plugins initialized in 3726 ms 
2018-02-25 21:16:07,535 [   5879]   INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: ASP (0.1), Android Support (10.2.3), Ant Support (1.0), Application Servers View (0.2.0), AspectJ Support (1.2), Bytecode Viewer (0.1), CFML Support (3.53), CSS Support (173.4548.28), CVS Integration (11), Cloud Foundry integration (1.0), CloudBees integration (1.0), CoffeeScript (2.0), Copyright (8.1), Coverage (173.4548.28), Cucumber for Groovy (999.999), Cucumber for Java (999.999), DSM Analysis (1.0.0), Database Tools and SQL (173.4548.28), Eclipse Integration (3.0), EditorConfig (173.4548.28), Emma (173.4548.28), Flash/Flex Support (173.4548.28), FreeMarker support (1.0), GWT Support (1.0), Geronimo Integration (1.0), Gherkin (999.999), Git Integration (8.1), GitHub (173.4548.28), GlassFish Integration (1.0), Google App Engine Integration (1.1.4), Gradle (173.4548.28), Grails (9.0), Groovy (9.0), Guice (8.0), HTML Tools (2.0), Haml (173.4548.28), Heroku integration (173.4548.28), Hibernate Support (1.0), I18n for Java (173.4548.28), IDE Settings Sync (173.4548.28), IDEA CORE (173.4548.28), IntelliLang (8.0), J2ME (1.0), JBoss Arquillian Support (1.0), JBoss Drools Support (1.0), JBoss Frameworks Base Support (1.0), JBoss Integration (1.0), JBoss Seam Pageflow Support (1.0), JBoss Seam Pages Support (1.0), JBoss Seam Support (1.0), JBoss jBPM (2.0.0), JSR45 Integration (1.0), JUnit (1.0), Java Bytecode Decompiler (173.4548.28), Java EE: Batch Applications (1.0), Java EE: Bean Validation Support (1.1), Java EE: Contexts and Dependency Injection (1.1), Java EE: EJB, JPA, Servlets (1.0), Java EE: JMS, JSON Processing, Concurrency, Transaction  (1.0), Java EE: Java Server Faces (2.2.X.), Java EE: RESTful Web Services (JAX-RS) (1.0), Java EE: Web Services (JAX-WS) (1.9), Java EE: WebSockets (1.0), Java Server Pages (JSP) Integration (1.0), Java Stream Debugger (173.4548.28), JavaFX (1.0), JavaScript Debugger (1.0), JavaScript Intention Power Pack (0.9.4), JavaScript Support (1.0), Jetty Integration (1.0), Kotlin (1.2.10-release-IJ2017.3-1), Less support (173.4548.28), Markdown support (173.4548.28), Maven Integration (173.4548.28), Maven Integration Extension (173.4548.28), Mercurial Integration (10.0), OpenShift integration (1.0), Osmorc (1.4.11), Perforce Integration (2.0), Persistence Frameworks Support (1.0), Playframework Support (1.0), Plugin DevKit (1.0), Properties Support (173.4548.28), QuirksMode (173.4548.28), REST Client (173.4548.28), Refactor-X (2.01), Remote Hosts Access (0.1), Resin Integration (8.1), SSH Remote Run (0.1), Sass support (173.4548.28), Settings Repository (173.4548.28), Spring AOP/@AspectJ (1.0), Spring Batch (1.0), Spring Boot (1.0), Spring Data (1.0), Spring Integration Patterns (1.0), Spring MVC (1.0), Spring OSGi (1.0), Spring Security (1.0), Spring Support (1.0), Spring Web Flow (1.0), Spring Web Services (1.0), Spring WebSocket (1.0), Spy-js (173.4548.28), Struts 1.x (2.0), Struts 2 (1.0), Stylus support (999.999), Subversion Integration (1.1), TFS Integration (999.999), Tapestry support (1.0), Task Management (1.0), Terminal (0.1), TestNG-J (8.0), Thymeleaf (1.0), Time Tracking (1.0), Tomcat and TomEE Integration (1.0), UI Designer (173.4548.28), UML Support (1.0), Vaadin Support (1.0), Velocity support (1.0), W3C Validators (2.0), WebLogic Integration (1.0), WebSphere Integration (1.0), XPathView + XSLT Support (4), XSLT-Debugger (1.4), YAML (173.4548.28), ZKM-Unscramble (1.0), dmServer Support (0.9.5), tslint (173.4548.28) 
2018-02-25 21:16:07,535 [   5879]   INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: AngularJS (173.4548.30), Dart (173.4548.30), Flutter (22.0.2), NodeJS (173.4301.12), Protobuf Support (0.10.2) 
2018-02-25 21:16:19,887 [  18231]   INFO - cloudConfig.CloudConfigManager - === Start.updateInitStatus === 
2018-02-25 21:16:19,893 [  18237]   INFO - cloudConfig.CloudConfigManager - === Start: JBA_NOT_CONNECTED === 
2018-02-25 21:16:19,894 [  18238]   INFO - cloudConfig.CloudConfigManager - === calculateInitStatus === 
2018-02-25 21:16:20,101 [  18445]   INFO - ellij.util.io.PagedFileStorage - lower=100; upper=500; buffer=10; max=705 
2018-02-25 21:16:20,108 [  18452]   INFO - til.net.ssl.CertificateManager - Default SSL context initialized 
2018-02-25 21:16:20,319 [  18663]   INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.4\bin\fsnotifier64.exe 
2018-02-25 21:16:20,410 [  18754]   INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational. 
2018-02-25 21:16:21,096 [  19440]   INFO - .cloudConfig.CloudConfigClient - === Get cloud config URL: https://cloudconfig.jetbrains.com/cloudconfig/files === 
2018-02-25 21:16:21,628 [  19972]   INFO - cloudConfig.CloudConfigManager - === calculateInitStatus.value: JBA_NOT_CONNECTED === 
2018-02-25 21:16:25,108 [  23452]   INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=0.0; restored: fontSize=12, fontScale=1.0 
2018-02-25 21:16:26,310 [  24654]   INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.ui.OptionsTopHitProvider$Activity@2d636fd5 
2018-02-25 21:16:26,658 [  25002]   INFO - rains.ide.BuiltInServerManager - built-in server started, port 63343 
2018-02-25 21:16:26,744 [  25088]   INFO - gs.impl.UpdateCheckerComponent - channel: release 
2018-02-25 21:16:27,274 [  25618]   INFO - il.indexing.FileBasedIndexImpl - Index exts enumerated:453 
2018-02-25 21:16:27,284 [  25628]   INFO - il.indexing.FileBasedIndexImpl - Index scheduled:9 
2018-02-25 21:16:27,404 [  25748]   INFO - tellij.psi.stubs.StubIndexImpl - All stub exts enumerated:97 
2018-02-25 21:16:27,406 [  25750]   INFO - tellij.psi.stubs.StubIndexImpl - stub exts update scheduled:1 
2018-02-25 21:16:28,846 [  27190]   INFO - plication.impl.ApplicationImpl - 98 application components initialized in 25087ms 
2018-02-25 21:16:28,904 [  27248]   INFO - .intellij.idea.IdeaApplication - App initialization took 30960 ms 
2018-02-25 21:16:30,889 [  29233]   INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=1.0; restored: fontSize=12, fontScale=1.0 
2018-02-25 21:16:31,503 [  29847]   INFO - .openapi.application.Preloader - Finished preloading com.intellij.openapi.actionSystem.impl.ActionPreloader@747984ce 
2018-02-25 21:16:33,632 [  31976]   INFO - pl$FileIndexDataInitialization - Initialization done:6348 
2018-02-25 21:16:36,677 [  35021]   INFO - ellij.project.impl.ProjectImpl - 183 project components initialized in 6971 ms 
2018-02-25 21:16:38,192 [  36536]   INFO - exImpl$StubIndexInitialization - Initialization done:4559 
2018-02-25 21:16:38,635 [  36979]   INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.ui.search.SearchableOptionPreloader@29c87b9f 
2018-02-25 21:16:38,661 [  37005]   INFO - le.impl.ModuleManagerComponent - 2 module(s) loaded in 1982 ms 
2018-02-25 21:16:39,247 [  37591]   INFO - j.ide.script.IdeStartupScripts - 0 startup script(s) found 
2018-02-25 21:16:39,555 [  37899]   INFO - .openapi.application.Preloader - Finished preloading com.intellij.codeInsight.completion.CompletionPreloader@1e60a75b 
2018-02-25 21:16:39,575 [  37919]   WARN - om.intellij.util.ProfilingUtil - Profiling agent is not enabled. Add -agentlib:yjpagent to idea.vmoptions if necessary to profile IDEA. 
2018-02-25 21:16:43,728 [  42072]   INFO - CompilerBackwardReferenceIndex - backward reference index version differ due to: class java.io.FileNotFoundException 
2018-02-25 21:16:44,147 [  42491]   INFO - ellij.project.impl.ProjectImpl - 20 project components initialized in 43 ms 
2018-02-25 21:16:44,220 [  42564]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 133ms; general responsiveness: ok; EDT responsiveness: ok 
2018-02-25 21:16:44,793 [  43137]   INFO -       ScriptTemplatesProviders - [kts] loading script definitions [] using cp:  
2018-02-25 21:16:44,793 [  43137]   INFO - rojectCodeStyleSettingsManager - Initialized from default code style settings. 
2018-02-25 21:16:44,798 [  43142]   INFO -       ScriptTemplatesProviders - Templates provider KotlinCompilerScriptTemplatesSettings is invalid:  
2018-02-25 21:16:44,848 [  43192]   INFO -       ScriptTemplatesProviders - Templates provider Gradle Kotlin DSL is invalid: Unable to get Gradle home directory 
2018-02-25 21:16:44,849 [  43193]   INFO -       ScriptTemplatesProviders - Templates provider Gradle Kotlin DSL is invalid: Unable to get Gradle home directory 
2018-02-25 21:16:44,849 [  43193]   INFO -       ScriptTemplatesProviders - Templates provider Gradle Script Kotlin is invalid: Unable to get Gradle home directory 
2018-02-25 21:16:44,849 [  43193]   INFO -       ScriptTemplatesProviders - [kts] loading script definitions [kotlin.script.templates.standard.ScriptTemplateWithArgs] using cp:  
2018-02-25 21:16:45,596 [  43940]   INFO - tartup.impl.StartupManagerImpl - OpenFilesActivity run in 1500ms under project opening modal progress 
2018-02-25 21:16:45,724 [  44068]   INFO - tartup.impl.StartupManagerImpl - InitToolWindowsActivity run in 128ms under project opening modal progress 
2018-02-25 21:16:46,391 [  44735]   INFO - tartup.impl.StartupManagerImpl - DartDumbAwareStartupActivity run in 496ms under project opening modal progress 
2018-02-25 21:16:47,496 [  45840]   INFO - tartup.impl.StartupManagerImpl - ProjectOpenActivity run in 1105ms under project opening modal progress 
2018-02-25 21:16:47,497 [  45841]   INFO - .diagnostic.PerformanceWatcher - Post-startup activities under progress took 3472ms; general responsiveness: ok; EDT responsiveness: 2/4 sluggish 
2018-02-25 21:16:47,548 [  45892]   INFO - cloudConfig.CloudConfigManager - === StatusBar.update create === 
2018-02-25 21:16:47,641 [  45985]   INFO - cloudConfig.CloudConfigManager - === End.updateInitStatus === 
2018-02-25 21:16:48,638 [  46982]   INFO - j.ide.ui.OptionsTopHitProvider - 810 ms spent to cache options in application 
2018-02-25 21:16:48,987 [  47331]   INFO - lutter.run.daemon.DeviceDaemon - starting Flutter device daemon #1: C:/Installs/Flutter/flutter/bin/flutter.bat daemon 
2018-02-25 21:16:49,068 [  47412]   INFO - o.flutter.run.daemon.DaemonApi - [--> {"method":"device.enable","id":0}] 
2018-02-25 21:16:49,303 [  47647]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 5081ms; general responsiveness: ok; EDT responsiveness: 3/5 sluggish 
2018-02-25 21:16:51,566 [  49910]   INFO - tartup.impl.StartupManagerImpl - C:/Development/Flutter/untitled5/.idea case-sensitivity: expected=false actual=false 
2018-02-25 21:16:51,593 [  49937]   INFO - pl.projectlevelman.NewMappings - VCS Root: [] - [<Project>] 
2018-02-25 21:16:52,936 [  51280]   INFO - tor.impl.FileEditorManagerImpl - Project opening took 23485 ms 
2018-02-25 21:16:53,482 [  51826]   INFO - tartup.impl.StartupManagerImpl - Some post-startup activities freeze UI for noticeable time. Please consider making them DumbAware to do them in background under modal progress, or just making them faster to speed up project opening. 
2018-02-25 21:16:53,482 [  51826]   INFO - tartup.impl.StartupManagerImpl - ProjectInspectionProfileStartUpActivity run in 235ms on UI thread 
2018-02-25 21:16:53,529 [  51873]   INFO - cloudConfig.CloudConfigManager - === StatusBar.start another widget: com.intellij.cloudConfig.StatusBarInfoManager$InfoComponent@4d5df0ec === 
2018-02-25 21:16:53,654 [  51998]   INFO - j.ide.plugins.RepositoryHelper - using cached plugin list (updated at 2/25/2018 4:35 PM) 
2018-02-25 21:16:54,617 [  52961]   INFO - j.ide.ui.OptionsTopHitProvider - 429 ms spent to cache options in project 
2018-02-25 21:16:56,422 [  54766]   INFO - o.flutter.run.daemon.DaemonApi - [<-- Starting device daemon...] 
2018-02-25 21:16:56,553 [  54897]   INFO - o.flutter.run.daemon.DaemonApi - [<-- [{"id":0}]] 
2018-02-25 21:16:56,995 [  55339]   INFO - CompilerWorkspaceConfiguration - Available processors: 8 
2018-02-25 21:16:57,043 [  55387]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2018-02-25 21:16:57,138 [  55482]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 6ms; general responsiveness: ok; EDT responsiveness: ok 
2018-02-25 21:16:57,318 [  55662]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 180ms; general responsiveness: ok; EDT responsiveness: ok 
2018-02-25 21:16:59,129 [  57473]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2018-02-25 21:16:59,182 [  57526]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 3ms; general responsiveness: ok; EDT responsiveness: ok 
2018-02-25 21:16:59,280 [  57624]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 98ms; general responsiveness: ok; EDT responsiveness: ok 
2018-02-25 21:18:25,678 [ 144022]   INFO - ide.actions.ShowFilePathAction - 
Exit code 1 
devoncarew commented 6 years ago

@scheglov, it looks like we're not showing content for the outline view on windows. Perhaps a path issue, in the Flutter plugin or on the analysis server side?

slightfoot commented 6 years ago

I can confirm this is also an issue for myself.

Windows 10 x64
-
IntelliJ IDEA Community Edition (version 2017.3)
    • Flutter plugin version 22.0.2
    • Dart plugin version 173.4548.30
-
Flutter 0.1.6-pre.6 • channel master • https://github.com/flutter/flutter.git
Framework • revision 1f3eb5034f (2 days ago) • 2018-02-23 18:35:40 -0800
Engine • revision ead227f118
Tools • Dart 2.0.0-dev.28.0.flutter-0b4f01f759
scheglov commented 6 years ago

This should be fixed with https://github.com/flutter/flutter-intellij/commit/b595ba9bc1c2c47d3fddda9272057b92d34e8c59

It is not part of any build yet AFAIK.

devoncarew commented 6 years ago

This has been published as M22.1.

slightfoot commented 6 years ago

For visitors to this ticket: You can download the Flutter Plugin directly from here: https://plugins.jetbrains.com/plugin/9212-flutter

Make sure you download the version that matches your Intellij Build Number as found in the "Help > About" section.

Thanks @scheglov and @devoncarew as you can see it now works perfectly. Bravo.

image

devoncarew commented 6 years ago

@slightfoot, thanks for verifying!

You can download the Flutter Plugin directly from here

You're generally going to be better off installing from the plugins preference page - that'll make sure that IntelliJ keeps up with updates.

nag0121 commented 6 years ago

hello guys how about me i have been using flutter in android studio... Flutter channels:

this is how my flutter channel looks like and not showing flutter out line(windows)

gazialankus commented 6 years ago

@nag0121 possible issues that come to mind:

If these don't work, please post the output of flutter doctor -v and we'll figure it out.

nag0121 commented 6 years ago

Got it through flutter upgrade thanks man..!

On Wed, 2 May 2018, 4:38 p.m. Gazihan Alankus, notifications@github.com wrote:

@nag0121 https://github.com/nag0121 possible issues that come to mind:

  • Your Flutter version may be old. Try flutter upgrade
  • Your Flutter plugin may be old. Try Help->Check for Updates... in IntelliJ

If these don't work, please post the output of flutter doctor -v and we'll figure it out.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/flutter/flutter-intellij/issues/1827#issuecomment-385878953, or mute the thread https://github.com/notifications/unsubscribe-auth/AigfZq51Cn-706Qi8sAneqwo8NDiNlZRks5tuVSDgaJpZM4SSXW8 .

kDaqqa commented 4 years ago

I got this solve: Open a terminal/command window and type flutter channel. You'll see that you are in the alpha channel, which is actually abandoned. You need to be in the dev channel, but for some reason switching from alpha to dev does not work. Do this:

flutter channel master flutter doctor flutter channel dev flutter doctor flutter channel

This should tell you that you are in dev channel. Now restart and try again.

Axxxx commented 4 years ago

I got this solve: Open a terminal/command window and type flutter channel. You'll see that you are in the alpha channel, which is actually abandoned. You need to be in the dev channel, but for some reason switching from alpha to dev does not work. Do this:

flutter channel master flutter doctor flutter channel dev flutter doctor flutter channel

This should tell you that you are in dev channel. Now restart and try again.

Thanks It 'Worked' for me

harikirank commented 4 years ago

flutter channel

flutter channel dev Switching to flutter channel 'dev'... git: From https://github.com/flutter/flutter git: e6b0f5f23..58cad787d dev -> origin/dev git: 8c0b43bda..af5194dbf master -> origin/master git: [new branch] remove-implements-function -> origin/remove-implements-function git: [new branch] revert-47667-refresh_indicator_perf -> origin/revert-47667-refresh_indicator_perf git: * [new tag] v1.16.2 -> v1.16.2 git: error: unable to create file bin/flutter: Permission denied git: D bin/flutter git: Branch 'dev' set up to track remote branch 'dev' from 'origin'. git: Switched to a new branch 'dev'

//It got messed up flutter channel bash: /c/src/flutter/bin/flutter: No such file or directory

//what should I do now?

saadalti commented 4 years ago

I got this solve: Open a terminal/command window and type flutter channel. You'll see that you are in the alpha channel, which is actually abandoned. You need to be in the dev channel, but for some reason switching from alpha to dev does not work. Do this:

flutter channel master flutter doctor flutter channel dev flutter doctor flutter channel

This should tell you that you are in dev channel. Now restart and try again.

Works like charm thanks!

AruArshad commented 4 years ago

I got this solve: Open a terminal/command window and type flutter channel. You'll see that you are in the alpha channel, which is actually abandoned. You need to be in the dev channel, but for some reason switching from alpha to dev does not work. Do this:

flutter channel master flutter doctor flutter channel dev flutter doctor flutter channel

This should tell you that you are in dev channel. Now restart and try again.

Thanks man!

shariar41 commented 4 years ago

click to red dart analysis server button hopefully it will work

Screenshot 2020-04-02 23 13 02
ZulqarnainGithub commented 4 years ago

I got this solve: Open a terminal/command window and type flutter channel. You'll see that you are in the alpha channel, which is actually abandoned. You need to be in the dev channel, but for some reason switching from alpha to dev does not work. Do this:

flutter channel master flutter doctor flutter channel dev flutter doctor flutter channel

This should tell you that you are in dev channel. Now restart and try again.

this worked for me thanks alot mate!

leandrog7 commented 4 years ago

It often happens for me, but when I STOP it suddenly works. Then I RUN again and it is still ok.

TheBrown commented 4 years ago

click to red dart analysis server button hopefully it will work

Screenshot 2020-04-02 23 13 02

Thank you

naeem43khan commented 4 years ago

make sure your code is not a mess.

ssinha2103 commented 4 years ago

I got this solve: Open a terminal/command window and type flutter channel. You'll see that you are in the alpha channel, which is actually abandoned. You need to be in the dev channel, but for some reason switching from alpha to dev does not work. Do this:

flutter channel master flutter doctor flutter channel dev flutter doctor flutter channel

This should tell you that you are in dev channel. Now restart and try again.

In my case the app was in stable channel, from there I shifted to master version.

Its working now.

I did....

flutter channel master flutter doctor

al3sha commented 4 years ago

I got this solve: Open a terminal/command window and type flutter channel. You'll see that you are in the alpha channel, which is actually abandoned. You need to be in the dev channel, but for some reason switching from alpha to dev does not work. Do this:

flutter channel master flutter doctor flutter channel dev flutter doctor flutter channel

This should tell you that you are in dev channel. Now restart and try again.

I also had to change my channel - good fix. Many mahalos.

ssinha2103 commented 4 years ago

Move the mouse to any widget and Press Ctrl and click on that widget ,

after this step, your FLutter Outline will be enabled

UsabilitySpace commented 4 years ago

Move the mouse to any widget and Press Ctrl and click on that widget ,

after this step, your FLutter Outline will be enabled

This worked for me on iMac — thanks.

But, nevertheless, note that on Macs it is ⌥+Click that should be performed.

anooppanicker commented 4 years ago

click to red dart analysis server button hopefully it will work

Screenshot 2020-04-02 23 13 02

Worked for me too

Thatogafane commented 3 years ago

click to red dart analysis server button hopefully it will work

Screenshot 2020-04-02 23 13 02

Thank you

Thank you

MrDEV0 commented 3 years ago

click to red dart analysis server button hopefully it will work

Screenshot 2020-04-02 23 13 02

Thank you

This works for me, thank a lot.