Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aristotle0x01 opened this issue Apr 20, 2016 · 0 comments

Comments

@aristotle0x01
Copy link

在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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant