Android Platform Global Library should really be an SDK

When you create an Android module, it uses the main project SDK (which points to the standard Java SDK).  It then adds the Android Platform as a Global Library.  In my opinion, IDEA should reference the Android Platform as a separate SDK instead of a global library, because Android does not have access to all of the standard JDK classes.  In fact, one suggestion I've found is to create a new "dummy" JDK that references the main JDK, and remove all of the .jar Dependencies and use that as the Android SDK to work around this issue.  Just wondering why IDEA doesn't treat the Android Platform as it's own SDK?

1 comment
Comment actions Permalink

See http://youtrack.jetbrains.net/issue/IDEA-58829

When you create an Android module, it uses the main project SDK (which
points to the standard Java SDK).  It then adds the Android Platform
as a Global Library.  In my opinion, IDEA should reference the Android
Platform as a separate SDK instead of a global library, because
Android does not have access to all of the standard JDK classes.  In
fact, one suggestion I've found is to create a new "dummy" JDK that
references the main JDK, and remove all of the .jar Dependencies and
use that as the Android SDK to work around this issue.  Just wondering
why IDEA doesn't treat the Android Platform as it's own SDK?

---
Original message URL:
http://devnet.jetbrains.net/message/5281661#5281661



0

Please sign in to leave a comment.