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

Android support #3

Open
smx-smx opened this issue May 20, 2019 · 0 comments
Open

Android support #3

smx-smx opened this issue May 20, 2019 · 0 comments

Comments

@smx-smx
Copy link
Owner

smx-smx commented May 20, 2019

I'll make this issue to track my experiments with Android support.

Android support is actually hard to pull off due to SELinux restricting native libraries to the apk file being ran (.so files must be in the lib subfolder of the apk).

I tried to work around that by using android_create_namespace to create a new namespace, but it simply won't work until SELinux is set to permissive (which requires root access).

Even after doing that, the Kodi app just crashed upon loading the library and i'm not completely sure why that happened (didn't have time to debug the crash yet)

Due to the aforementioned limitations, it looks like the best course of action would be to
repackage the Kodi APK to include the mono host library - so that it can be loaded without hacks.

That would obviously make it annoying to maintain new versions/releases of Kodi, but i don't have any other idea in mind at the moment.

I'm starting to feel like i've reached the point where a proper integration of C# in the Kodi source code is the next step to pursuit, but that's a nontrivial step to pull off

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

No branches or pull requests

1 participant