-
Notifications
You must be signed in to change notification settings - Fork 28
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 port #39
Comments
Did you use the https://github.com/keijiro/UnityPluginWithWSL/blob/master/Plugin/Makefile.android#L8 Unity will fail to load the native plugin if it's dynamically linked to libstdc++. |
Yes I tried that but its still not loading. Using Visual Studio I have -static-libstdc++ set in additional dependencies. |
Did you check if the |
I have made some progress, I replaced VisualStudio with AndroidStudio and no longer get the DLL not found error instead I am getting a failed to open stream error. I have set PathMode to StreamingAssets and have checked the video is included in the build in the assets folder which appears to match the resolved File Path /base.apk!/assets/v5.mov? |
Unfortunately, I don't have much experience on Android, but I'm pretty sure that that's one of the common problems on Unity/Android dev. Probably, you can find some hints/knowledges by Googling. |
Trying to port to Android to play small video loops on a ChromeBook,, the Hap larger file size is not an issue as the videos I'm using are quite small.
I was able to build the library .so (tried both arm7 and arm64) but when run on device the videos are blank with an error: DllNotFoundException: Unable to load DLL 'KlakHap': The specified module could not be found.
Looking inside the .apk and the libKlakHap.so is included so I'm not sure what is wrong?
The text was updated successfully, but these errors were encountered: