Building an Android Studio Plugin using intellij and gradle as dependency management and trying to specify supported intelliJ IDE's
<depends>org.jetbrains.android</depends>
Issue is org.jetbrains.android is not resolved.
A suggested solution is :
you need to add plugins/android/lib/android.jar to the classpath of your IntelliJ IDEA SDK
can't find plugins/android/lib/android.jar . Any info on how I can locate this ?
Where is plugins/android/lib/android.jar?
accord to Dmitry Jemerov:
The jars of the Android plugin are part of the IntelliJ IDEA Community Edition distribution ("plugins/android/lib" under the installation directory). To use them in your plugin, you need to add them to the classpath of the IntelliJ IDEA SDK, and also add this to your plugin.xml:
<depends>org.jetbrains.android</depends>
For mac user :
you can find it in your application content

How to the classpath of your IntelliJ IDEA SDK?


just find android.jar in this plugin folder and add it to classpath. Dont forget to add org.jetbrains.android to your plugin.xml
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With