Quantcast
Channel: Questions in topic: "crash"
Viewing all articles
Browse latest Browse all 2383

Failed to load 'libmain.so'

$
0
0
App not working on some devices After upgrading our Unity project from 2019.3.15f1 to 2020.2.1f1 some of our testers started getting error: 12-31 16:21:34.740 20342 20342 E Unity : Failed to load 'libmain.so' 12-31 16:21:34.740 20342 20342 E Unity : 12-31 16:21:34.740 20342 20342 E Unity : java.lang.UnsatisfiedLinkError: dlopen failed: library "/data/app/com.*****.*****-2VG7SJabCDmTNFQuPiQIyw==/lib/arm64/libmain.so" not found 12-31 16:21:34.740 20342 20342 E Unity : Your hardware does not support this application. We are building our project as .aab (Android App Bundle) with Google Play. When built .aab is checked with winrar, we can see that libmain.so is included in both ****.aab\base\lib\arm64-v8a ****.aab\base\lib\armeabi-v7a. By now we tried: - Checking our build settings are: scripting backend is IL2cpp, both ARMv7 ARM64 target architectures are checked. - Deleted library completely and let unity recreate it - Setting install location to `automatic` - Setting write permission to `internal` - Clearing play store cache and app cache for testers device build.gradle: ... android { compileSdkVersion 30 buildToolsVersion '30.0.3' compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } defaultConfig { minSdkVersion 24 targetSdkVersion 30 ndk { abiFilters 'armeabi-v7a', 'arm64-v8a' } versionCode 490 versionName '1.490' consumerProguardFiles 'proguard-unity.txt' } lintOptions { abortOnError false } aaptOptions { noCompress = ['.ress', '.resource', '.obb'] + unityStreamingAssets.tokenize(', ') ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~" } packagingOptions { doNotStrip '*/armeabi-v7a/*.so' doNotStrip '*/arm64-v8a/*.so' } Graphics API: OpenGLES3 Some packages in project - Facebook SDK 8.1.1 - Backtrace 3.2.6 - Google Play Asset Delivery & Google Play Core 1.3.0 - Localization 0.9.0 - AR Foundation 4.0.9 - IAP 2.1.1 - EMpro 2.13.0

Viewing all articles
Browse latest Browse all 2383

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>