I wanted to develop a plugin for my flutter project which build by android studio.
The plugin I wanted to develop is like https://plugins.jetbrains.com/plugin/12129-bloc to auto generate some of the classes.
I know I have to create this type of plugin from intellij IDE, but I could not found enough information to start my plugin development. Any source of information for this please?
You can refer to IntelliJ Platform SDK documentation. Here is a corresponding page about Android Studio Plugin Development - https://plugins.jetbrains.com/docs/intellij/android-studio.html .
when i go to the settings in android studio under build tools the Gradle menu which is generally there is missing(menu)
You need to open the android folder in your flutter application with Android Studio instead of the root folder.
Take a look
I imported a Flutter project from Git into Android studio, but Android studio won't recognize it as Flutterproject. I can create a Project which uses Flutter so I guess it works, but it doesn't work when I am importing one.
I have no error message just an "empty" project, here is the picture of the project structure and how android studio shows it.
Android Studio Directory
EDIT: I have no idea what I did and it worked, I just switched projects back and forth lol. So I am still looking for an answer because this happens often
I am facing lot of problems due to the ionic plugins so I want to shift my project from eclipse to android studio. so please provide me steps regarding it.
I'm using Android Studio, but I need Eclipse at the moment. So, in Window > Preferences > Android, in SDK Location, I choose the sdk location inside my Android Studio folder, that is .../android-studio/sdk, but it can't find the sdk APIs I've installed.
And when I try to enter this configuration, it shows:
The currently displayed page contains invalid values
Any help?
Thank you!
I know it is late for the answer but if anyone search for this..
First you have to set up a common SDK, for example put your SDK folder at the following location C:\Android\sdk
Link SDK in your Android Studio, go to File->Project Structure->Android SDK and point the C:\Android\sdk in Android SDK location.
Link SDK in your Eclipse ADT, go to Eclipse->Preferences->Android and change the SDK Location to C:\Android\sdk
*Restart both Eclipse and Android Studio
Yes, first install the Android studio. It will instal the SDK in an Android folder under user/AppData/Local/Android/sdk
then install Eclipse (unzip). Add the ADT (Android Dev Tools) to Eclipse see : http://developer.android.com/sdk/installing/installing-adt.html
Then, once you restart eclipse it will ask you to provide the folder for the SDK, provide the folder where Studio installed it.
There, both are working with same SDK.
This will save you space on the drive and not have to download and install the SDK twice.
Enjoy.
You can copy your -- .../android-studio/sdk and paste it outside of Android Studio app location, something like /Users/Name/sdk. Then point this /Users/Name/sdk path to eclipse. I think this will solve the problem.