Reputation: 962
Following line in plugin.xml
<depends>org.jetbrains.android</depends>
throws an error: can not resolve plugin org.jetbrains.android
As per the post here, I added android.jar file (/sdk/platforms/android-25/android.jar) to classpath of IDEA SDK. (File -> Project Structure -> Platform SDKs -> SDKs -> Add Android SDK from the Android home directory)
Still the error persists. Am I doing it right? Any help?
Upvotes: 0
Views: 1233
Reputation: 191681
you need to add plugins/android/lib/android.jar to the classpath of your IntelliJ IDEA SDK
You've copied the API 25 Android SDK, not Intellij plugin
Upvotes: 1