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

MrBean support on Android #197

Open
NebuPookins opened this issue Feb 2, 2023 · 1 comment
Open

MrBean support on Android #197

NebuPookins opened this issue Feb 2, 2023 · 1 comment
Labels

Comments

@NebuPookins
Copy link

While the core Jackson library works on Android, the MrBean module does not. This is because MrBean uses ASM to dynamically generate bytecode -- but the class file used by the Dalvik VM can only read class files in the DEX format.

One possibility would be to use a library like https://github.com/linkedin/dexmaker

@cowtowncoder
Copy link
Member

Yes, correct. MrBean as it is does not and cannot work on Android.

To support Android we would realistically need separate library, I think.

But I also do not know if it is possible to dynamically load generated byte (dex) code, even if generation was implemented.

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

No branches or pull requests

2 participants