Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install Ultimate edition IntelliJ plugins in Android Studio

I have Ultimate edition of IntelliJ Idea w/ a valid licence. There is a very useful plugin only available in full edition named Database Tools and SQL support that allows the developer to browse and run queries on sqlite database stored in phone.

Now i need to use this plugin in Android Studio, looks like Android Studio is based on community edition and does not have this plugin built-in, it's not available in plugin repositories too.

Is there any way to use IntelliJ Idea plugins in android studio? Just copy and pasting files in plugins folder doesn't seem to work.

Plugins page screen shot

I installed Database Navigator plugin but it cannot connect to android device like IntelliJ does. It there an alternative plugin to Database Tools and SQL support or any way to config Database Navigator so it can access databases inside android applications installed on mobile devices?

like image 978
Mohammad Jafar Mashhadi Avatar asked Jun 17 '15 06:06

Mohammad Jafar Mashhadi


People also ask

Can I Install IntelliJ and Android Studio?

Android Studio is just an IDE with a custom compilation of IntelliJ plugins. You can install / activate any IntelliJ plugin in IntelliJ IDEA Ultimate (but not the other way around). If you want "Android Studio", just activate the Android Support plugin (File -> Settings -> Plugins).

Where do I Install IntelliJ plugins?

Press Ctrl+Alt+S to open the IDE settings and select Plugins. Find the plugin in the Marketplace and click Install.

How do I Install plugins on Android?

Step 1: Open the Android Studio and go to File > Settings as shown in the below image. Step 2: After hitting on the Settings button a pop-up screen will arise like the following. Here select Plugins in the left panel. Make sure you are on the Marketplace tab.

Can I open IntelliJ project in Android Studio?

If you are already using Gradle with your IntelliJ project, you can open it in Android Studio using the following steps: Click File > New > Import Project. Select your IntelliJ project directory, and click OK. Your project will open in Android Studio.


1 Answers

As you stated, some plugins are only available in IntelliJ Ultimate, hence you cannot use them in IntelliJ Community, which Android Studio is based on. This is noted in the plugin.xml of the Database plugin:

<depends>com.intellij.modules.ultimate</depends>

That's why simply moving the plugin lib files won't help.

A solution would be to use both applications: Android Studio for coding and IntelliJ Ultimate to browse the phone database.

like image 69
Darek Kay Avatar answered Oct 05 '22 21:10

Darek Kay