How do I configure Android Studio to show hints? - android-studio

Currently learning Flutter. I was watching a video tutorial on YouTube (MTechViral) and the IDE that he was using (Visual Studio Code) showed hints whenever he typed an element as shown here.
See how the IDE lists all the possible elements and then describes it?
Is it possible to configure Android Studio to do this? Thanks!

make sure you have installed the flutter and dart plugin, once installed intellisense should work off the bat. Maybe try updating android studio and reinstalling the dart and flutter plugins. CTRL + SPACE on windows and control + space on mac will display intellisense.
Good luck

Related

Flutter UI Guides not showing in Android Studio

In Android Studio V4.1.3 (build no. Al-201.8743.12.41.7199119) The Flutter UI guides for widgets and methods not showing at all even though it is enabled in the settings. Please, be kind to see the screenshot =>
no Flutter UI guides
I have Flutter Plugin V55.1.1 and Dart Plugin V201.9335 installed.
All your help is highly appreciated.
Thank you
You might be creating the new Flutter project and selecting Java for Android. But when you select Kotlin and create project. The issue will be fixed.
And if you want your old projects to be converted to Kotlin, just open the terminal in that project and run this
run flutter create -a kotlin .
The dot(.) at the end is also important it will generate the Kotlin files in current directory.
After this, just re-open the project, you'll get the guides.
I have the same android studio version as you and Flutter Plugin V55.1.1 and Dart Plugin V201.9380 installed. Getting the same issue. I have even tried to enable and disable the "Show UI guidelines for build methods" in Setting > Language & Frameworks > Flutter, but nothings work.
I cloned flutter/sample from GitHub and it seem that the UI guides is showing on that samples project.
My current (kinda easy cheat) solution right now is by creating a New Flutter application project via VS Code. And when I open that flutter project on Android studio, the UI guides is there. I have configure my VS Code with the recommended setting for Dart code.
Tutorial to configure your VS Code reference: https://youtu.be/nAmOt5_fMtU?t=278
I'm pretty new in flutter development but I'm pretty sure there might be something that we can configure on Android Studio seeing that generated project file from VS Code does shows the UI guideline. If someone know how do let me know. Cheers!

Not able to use Android Studio after uninstall Kotlin plugin

I uninstalled kotlin plugin and at this moment my Android Studio crashed.
People in the internet said i should delete deleted_plugins.txt and it'll work again but unfortunatly it doesnt worked anymore.
I uninstalled whole android studio multiple times and evene followed a couple instructions how to completely delete Android Studio from my PC but still, when im going to install it again the same error:
Missing essential plugin:
org.jetbrains.android
Please reinstall Android Studio from scratch.
Shows up again and again. I also tried to go to Visual Studio Code, but i need Android Studio for the emulator to work so i have no choice then fixing this.
I cant do anything at all so please help me I appreciate any help.
I suggest you to take a look at JetBrains' Toolbox App. You won't need to worry about manually installing/uninstalling IDEs (developed by JetBrains) anymore!

Why android studio autocompletes stops when using Future keyword in dart

I use Android Studio version 3.6.3.
I'm building an app using flutter.
When I type Future keyword, Android Studio autocompletes stops. So, I have to restart the Android Studio.
Sometimes, I should restart it several times. I don't know how to resolve it.
Is there anyone who can help me? Thanks for your help.
Sorry for my English

How to resolve symbols #mipmap and #style in Flutter project?

A while ago my designed Flutter app was running like it should in simulation (virtual device) in Android Studio. After some updates of both Flutter as Android studio I am not able to get the app in simulation. I am new to Flutter and Android studio (have a little knowledge of Xcode, 2 apps in the store) so I have looked at stackoverflow first to find a solution. All tried suggestions did not worked for me and I am hoping somebody can help me.
I have an original version of the project which was running in simulation mode. Now I am working in a duplicated version to find out how to get things up and running again. It worked before but why does Flutter or Android Studio give an error now? The folders and content do exist. Perhaps it is a simple thing to solve but it is not in my knowledge.
What to do to solve the error message I get as shown in the screendump?
The problem seems to be with the resources,
this should help.
Android Studio error: cannot resolve symbol in Xml
Or try to run "flutter clean" (usually solves many problems)
Flutter studio sometimes does not resolve those (no idea why).
Try opening the same Android project in Android studio and check it from there.
Once back, try File->Invalidate Caches/Restart
If they exist and the name is right (without extension), then it could be it.

How to get the list of installed/non-installed dependencies in Android Studio

I am currently using some libraries (e.b. material design lib) to create apps.
I want to set the minimum SDK to 5.0, but it cannot be done because the version of that library is higher.
My question is how can I know the list of installed/non-installed dependencies(e.g. com.android.support:design) provided by Google in android studio(like SDK manager) or not?
Honestly, I was using the Eclipse IDE for developing android apps, and now I switch to Android Studio. It is difficult to me to use Android Studio. Is there any resources to learn more detailed about the usage of Android Studio?
My question is how can I know the list of installed/non-installed
dependencies provided by Google in android studio(like SDK manager) or
not?
At first make sure in the left panel Project is selected.
Then right-click on your appropriate project name and select Open Module Settings
There you will see the Dependencies tab that you were searching for. There you will explore the options to add or remove dependencies or shifting them up or down in the easiest way. Hope you will find Android Studio more interesting then Eclipse gradually.
Is there any resources to learn more detailed about the usage of
Android Studio?
The official android developer site of Google is well enough to learn Android Studio in details. Everything is there. Still you can also go for tutorialspoint tutorial about Android Studio.
Links:
https://developer.android.com/training/index.html
https://www.tutorialspoint.com/android/android_studio.htm

Resources