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

Plugin for Android #5

Open
oong819 opened this issue Nov 23, 2022 · 5 comments
Open

Plugin for Android #5

oong819 opened this issue Nov 23, 2022 · 5 comments

Comments

@oong819
Copy link

oong819 commented Nov 23, 2022

How to install plugin on Android?

and how to set up Android build workflow for Classicube?

@oong819
Copy link
Author

oong819 commented Nov 23, 2022

i need obj export

@Synthia32
Copy link

what

@UnknownShadow200
Copy link
Collaborator

Android security measures impose some restrictions on loading new code from storage at runtime, so simply dropping a compiled .so into plugins folder will fail to load the plugin

I need to research and investigate possible workarounds, which I'll get to some day


The process is similar to how you'd compile plugins for Linux, except that you'd use the android native code compilers from Android NDK instead

@oong819
Copy link
Author

oong819 commented Nov 24, 2022

Android security measures impose some restrictions on loading new code from storage at runtime, so simply dropping a compiled .so into plugins folder will fail to load the plugin

I need to research and investigate possible workarounds, which I'll get to some day

The process is similar to how you'd compile plugins for Linux, except that you'd use the android native code compilers from Android NDK instead

idk how to compile plugin on linux

@Adamixdex
Copy link

Adamixdex commented Oct 27, 2024

Android security measures impose some restrictions on loading new code from storage at runtime, so simply dropping a compiled .so into plugins folder will fail to load the plugin
I need to research and investigate possible workarounds, which I'll get to some day
The process is similar to how you'd compile plugins for Linux, except that you'd use the android native code compilers from Android NDK instead

idk how to compile plugin on linux

As stated by unknownshadow200, even if you compile it it's impossible to load.
Google is trying to prevent game modders and other malicious people who try to inject scripts and whatnot into applications/games. This is a basic security measure since we use phones everyday and they need to be secure, hence it cannot currently run any kind of plugins.

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

4 participants