Cannot find declaration to go to
See original GitHub issueThanks 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
When Ctrl + Click ,ide shows : Cannot find declaration to go to
Version info
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.
[√] Flutter (Channel dev, v0.5.5, on Microsoft Windows [Version 10.0.16299.15], locale zh-CN)
• Flutter version 0.5.5 at D:\FlutterSDK\flutter
• Framework revision 020e0ef55c (8 days ago), 2018-06-14 13:17:08 -0700
• Engine revision c3976b3c71
• Dart version 2.0.0-dev.61.0.flutter-c95617b19c
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at D:\AndroidSDK
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• ANDROID_HOME = D:\AndroidSDK
• 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)
• All Android licenses accepted.
[√] Android Studio (version 3.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 23.2.1
• Dart plugin version 171.4424
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
[√] IntelliJ IDEA Ultimate Edition (version 2018.1)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2018.1
• Flutter plugin version 25.0.2
• Dart plugin version 181.4203.498
[√] Connected devices (1 available)
• G8142 • CB512EEZUJ • android-arm64 • Android 8.0.0 (API 26)
• No issues found!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:20 (2 by maintainers)
Top Results From Across the Web
IntelliJ cannot find any declarations - Stack Overflow
- File>Project Structure. - Under Project Settings go to Modules. Here you should see the different project folders, for me it was not...
Read more >I am getting 'Cannot find declaration to go to' warning
go to WebStorm Default IDE directories (C:\Users\JohnS\AppData\Roaming\JetBrains). delete all files in this folder. reopen WebStorm. WARNING: ...
Read more >Cannot find declaration to go to, Nothing here, Java file ...
Open installed Plugins (press Shift key twice) and disable Gradle and restart IntelliJ, you will be prompted to enable Gradle, once dependencies ...
Read more >What if "Cannot find declaration to go to"? - My Knowledge Base
Why can't I ssh to github or bitbucket? Investment · Chinese Stock Market ... What if "Cannot find declaration to go to"? Try...
Read more >PhpStorm: Undefined class 'Route' (Cannot find declaration to ...
I have many "Undefined ...." with PhpStorm in fresh installations. Undefined class 'Route' (Cannot find declaration to go to) Undefined namespace 'Facades' ...
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
emmm… I think I solve it.
and then i found the *.iml not generated again.
For people seeing this issue, I would:
Language & Frameworks
>Flutter
pageFile
>Invalidate caches
menu item