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

Library not loading upon Android Emulator compilation even though library is installed #176

Open
anose001 opened this issue Nov 20, 2023 · 0 comments

Comments

@anose001
Copy link

anose001 commented Nov 20, 2023

Ran into this error message after starting a fresh .NET Maui project from the Evergine Studio Launcher and compiling in an Android Emulator in VS2022 after opening via File > Open C# Editor > Maui. It compiles just fine into a Windows app.

System.InvalidOperationException: Bullet native libraries cannot be loaded: libbulletc.so, try to add the Evergine.Libulletc.Natives Nuget package to your Evergine Android launcher project

Android Emulator:
Error_Evergine_in_Maui_On_AndroidEmulator

Similar results when compiling the Eversneaks samples app. Works fine on Windows (however it is slow to load into the DetailsPage of the Sneaker). On Android the error occurs only when clicking one of the sneaker tiles (either white, blue, red, orange). Another user experiences the same problem: App fails in Android emulator.

Android Emulator:
Error_SneakerApp_On_AndroidEmulator

Don't have any issues when opening the other sample apps like the SmartCityDemo etc. Seems to be an issue with the MAUI implementation?

Any help is appreciated.

I am running Microsoft Visual Studio Community 2022 (64-bit) - Version 17.8.0 with .NET Framwork 4.8.09037.
I checked that I am targeting .NET 7 framework as according to here.

Edit: I have check via Nuget that the library is installed.

@anose001 anose001 changed the title System.InvalidOperationException: Bullet native libraries cannot be loaded: libbulletc.so on Android Emulator Library not loading upon Android Emulator compilation even though library is installed Nov 20, 2023
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

1 participant