Unity-Technologies / uaal-example

Other
733 stars 233 forks source link

Your hardware does not support this application. Failed to load 'libmain.so' java.lang.UnsatisfiedLinkError: dopen failed: library "libmain.so" not found #90

Closed dineshcryenx closed 10 months ago

dineshcryenx commented 10 months ago

**_

"Your hardware does not support this application. Failed to load 'libmain.so' java.lang.UnsatisfiedLinkError: dopen failed: library "libmain.so" not found"

_**

Getting this message when trying to launch a Unity AR app as a library from Android Studio. Unity 2022.3.7f1 Android Studio Giraffe abiFilters "armeabi-v7a", "x86" Gradle 7.2 Added include ':unityLibrary:xrmanifest.androidlib' as per latest unity update

Used in Unity: Mapbox SDK without AR Components that were bundled with that SDK ReadyPlayerMe SDK ARFoundation gLTFast and Draco 3D data compression (but not using it) Google ARCore XR Plugin

Please let me know what other information you need to help me resolve this issue. The app runs fine as an APK when built and run directly from Unity.

dineshcryenx commented 10 months ago

I was able to solve by checking armv7 in unity :)

Until now I had always disabled it and all my apks from unity would run just fine. And abi filters used in android studio were "armeabi-v7a", "arm64-v8a", "arm64".