EvergineTeam / Feedback

Feedback, feature requests, and bug reports for Evergine.
https://evergine.com
14 stars 1 forks source link

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

Open anose001 opened 1 year ago

anose001 commented 1 year ago

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.