Search code examples
androidandroid-studioautosuggestandroid-studio-giraffe

Suggestions are not working in Android Studio Giraffe


I Installed the new Version of Android studio Android Studio Giraffe | 2022.3.1 Patch 2. I found Variable suggestion is not working.

I have done lots of R&D and they suggested delete the .idea folder and delete the folder on

C:\Users\user\AppData\Local\Google\AndroidStudio2022.3

. but still not have the proper solution.

Example.

I added the Timer class. I've just write timer. then no suggestion.

enter image description here

Anyone has any solution for this please post your answer. Thanks In advance.


Solution

  • So I asked the same question to google community and they said

    Do you have Flutter installed? We have seen a few issues of this sort recently with Android Studio Giraffe that have been caused by Flutter exceptions. If you have Flutter installed and the problem only reproduces when it is enabled, then please file an issue with the Flutter team at https://github.com/flutter/flutter-intellij#filing-issues. If you Does this issue reproduce when Flutter is not enable? If so, please share diagnostic logs, which can be found by going to Help > Collect Logs and Diagnostic Data. If this issue is related to Flutter, please file an issue with the Flutter team at https://github.com/flutter/flutter-intellij#filing-issues.

    after That I've checked the log diagnostic and found there is some flutter classes Exception issue on the .log file. like

    com.intellij.diagnostic.PluginException: Cannot create class com.intellij.codeInsight.template.LiveTemplateContextService

    Remove the

    Flutter Plugins, flutter Provider, Flutter Snippets, Flutter AssetsGenerator, flutter_json_fromat, flutter_Add_image, FlutterJsonBeanFactory from plugins then check if you have those.

    After removing the plugin the Suggestion are showing.

    Thanks