0

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?

3
  • Not sure why you need to do that. You just install from the Plugin window Commented Apr 3, 2017 at 13:53
  • I am developing a plugin myself, and adding the dependency in plugin.xml Commented Apr 3, 2017 at 13:53
  • OK, well android.jar is the Android SDK, not the Intellij plugin Commented Apr 3, 2017 at 13:55

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.