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?
请先登录再写评论。
See http://youtrack.jetbrains.net/issue/IDEA-58829