0

There's another thread about this topic here but with no accepted/sufficient answer. I am building a plugin targeted at Android Studio using IntelliJ Community Edition plugin development tools and I need to run and rebug the plugin in Android Studio. However when the run command is clicked in IntelliJ CE, it opens another instance of IntelliJ and opens the plugin in IntelliJ.

How can I change this configuration to run the plugin in Android Studio instead of IntelliJ? Upon researching, Android Studio plugins are developed using IntelliJ if I'm not mistaken (As mentioned here and here). There's no official guide addressing this. Any clarification and guides on getting this done?

EDIT

The duplicate thread does not solve the problem as it does not state a solution to run the plugin in Android Studio

Jay
  • 4,873
  • 7
  • 72
  • 137
  • Is your SDK pointing to AS installation? – Meo Sep 01 '17 at 18:46
  • No its pointing to IntelliJ installation as advised by the official plugin development guide @Meo – Jay Sep 03 '17 at 09:52
  • Then you are doing it wrong. – Meo Sep 03 '17 at 12:54
  • 1
    Possible duplicate of [Run intellij plugin on Android Studio](https://stackoverflow.com/questions/37035922/run-intellij-plugin-on-android-studio) – Bas Leijdekkers Sep 03 '17 at 16:14
  • 1
    I literally linked that answer and stated that there's no solution in that thread and none of the suggestions worked in my 1st sentence. Don't mark this as duplicate please @BasLeijdekkers – Jay Sep 05 '17 at 06:32
  • It is a duplicate, the answer clearly says "Point the IntelliJ Platform Plugin SDK home path to your Android Studio installation." Another option would be choosing different JRE at your run configuration, but why would you do that. – Meo Sep 05 '17 at 18:08
  • The OP says it didn't work and it didn't work for me either. Does that mean no one can ask the same question again? @Meo – Jay Sep 05 '17 at 18:14
  • As I said, you are doing it wrong. Upload your whole project including project files, or report a bug. – Meo Sep 05 '17 at 18:22

0 Answers0