ServiceFramework icon indicating copy to clipboard operation
ServiceFramework copied to clipboard

cross-compile issue: NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()

Open aristotle0x01 opened this issue 9 years ago • 0 comments

在jdk7或者8下面编译上述库,设置-source 1.6/- target 1.6,会编译通过,但是在应用中引用后会遇到上述问题。所以建议编译库如果target 1.6,那么最好在jdk6的环境下。最好在readme里面给个提醒,免得其它用户遇到类似问题。

参考:Exception in thread "main" java.lang.NoSuchMethodError: https://gist.github.com/AlainODea/1375759b8720a3f9f094

aristotle0x01 avatar Apr 20 '16 02:04 aristotle0x01