Base java classes still in the classpath during maven android build

自古美人都是妖i 提交于 2019-12-02 11:37:57

The problem is that Maven automatically has the Oracle JDK on the classpath and that the Android jar provides alternate implementations of these and they sometimes differ. At this stage I do not know if the Maven Compiler Plugin can be told to remove the JDK from its classpath and just use the dependencies on the classpath. That would imho solve the issue.

Please create an issue in the Android Maven Plugin issue tracker and potentially investigate by asking on the Maven user or dev list.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!