Skip to content

Removed java.awt.Point #409

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

Conversation

RumataEstorish
Copy link
Contributor

@RumataEstorish RumataEstorish commented Jul 16, 2019

Due to java.lang.NoClassDefFoundError: java.awt.Point on Android

Copy link
Owner

@drewnoakes drewnoakes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Do you know of a way we can prevent future usage of java.awt.* and other packages that might cause issues across platforms?

@drewnoakes drewnoakes merged commit 8352ce2 into drewnoakes:master Jul 17, 2019
@RumataEstorish
Copy link
Contributor Author

RumataEstorish commented Jul 17, 2019

Thanks! Do you know of a way we can prevent future usage of java.awt.* and other packages that might cause issues across platforms?

Well, as far I understand there's no clear way to avoid such situations. But can be something of following:

  • Check build with android studio
  • Add small Android test project, link with lib. So you'll get build faild if use incompatible imports
  • Keep in mind platform difference
  • Hardcore option is to use Google Compatibility Test Suite
  • Maybe there's some kind of plugin under IntelliJ, but I'm not sure.

@drewnoakes
Copy link
Owner

Thanks @RumataEstorish.

@RumataEstorish
Copy link
Contributor Author

@drewnoakes Hi! Can you make a new release please? So I can use new version with this fix. Thank you!

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

Successfully merging this pull request may close these issues.

2 participants