Run intellij plugin on Android Studio

后端 未结 1 1644
情歌与酒
情歌与酒 2021-01-16 06:09

I\'m developing an intellij plugin supposed to be used in android studio. I\'ve already setup the plugin development environment, but when I hit \"Run\" command it starts a

1条回答
  •  伪装坚强ぢ
    2021-01-16 06:51

    You can specify the platform to run on in the IntelliJ Platform Plugin SDK settings, under Platform Settings | SDKs in the Project Structure settings. Point the IntelliJ Platform Plugin SDK home path to your Android Studio installation.

    Another option is to create a new Plugin Run Configuration. In the Run Configuration it is possible to specify the JRE to run on. Click on the ... button there and select an Android Studio installation directory (e.g. /Applications/Android Studio.app/Contents on the Mac). This way it is possible to create a Run Configuration for all IntelliJ Platform IDEs you want to test your plugin on.

    0 讨论(0)
提交回复
热议问题