Unity-Technologies / uaal-example

Other
748 stars 235 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 1 year ago

dineshcryenx commented 1 year 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 1 year 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".