pbreault / adb-idea

A plugin for Android Studio and Intellij IDEA that speeds up your day to day android development.
Apache License 2.0
2.12k stars 257 forks source link

Setting up adb_idea for development - problems with openapi #10

Closed paddyzab closed 8 years ago

paddyzab commented 10 years ago

Hey,

I'm trying to add at least two features to you plugin, but have a problem with setting up development environment.

My first step is mavenizing project, but it seems that I cannot find the correct packages.

The classes I'm missing are:

com.intellij.openapi.roots.ui.configuration.ChooseModulesDialog
com.intellij.openapi.actionSystem.PlatformDataKeys

I tried with the last version of intellij openapi 7.0.3.

Can you share you environment details?

cheers, Patryk

pbreault commented 10 years ago

HI @paddyzab,

Sorry for not answering sooner. For some reason, even if i'm the owner of the repo, it looks like I was not a watcher of the projet so I didn't see any message. I just looked at it now because I am pushing a fix for studio 0.8.10 compatibility.

So, if you are still interested, what I have been doing so far is simply taking the Android Studio folder, adding it as an sdk with "Intellij Plugin Platform Plugin SDK" type and then manually addding all the jars from the plugins/android/lib folder to its classpath. In order to have the sources, I cloned the studio repo and added the adt/idea and base folders as sourcepaths.

If you are able to create a maven script, that would be great! But if you simply want to contribute a feature, you can manually configure the environment like and then use the ant script.

I'm pretty excited that you are willing to contribute, I hope that it's not too late !