Skip to content

Why does BouncyCastle throw NoClassDefFoundError? #777

Closed Answered by dkimitsa
terlan98 asked this question in Q&A
Discussion options

You must be logged in to vote

current version of MobiVM is Android 4,4 based which means its stuck at java7 level.
java.util.function.Supplier class is part of Function API that was added in Java8 and not completely available.
your option is either use older Bouncy Castle or not use it at all and generate certificates with available in RoboVM libraries.
there is an experimental build with Android12 runtime https://github.com/robovmx/robovmx/releases, you can give it a try.
but it was not updated for a while

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by terlan98
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dkimitsa
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants