Open weacw opened 3 years ago
and crash for me too with this erorr Unity: Failed to load 'libmain.so', the application will terminate.
Same error here: Failure to initialize! Your hardware does not support this application. Failed to load 'libmain.so'
Android Studio 4.1.1, gradle 6.5, Unity 2020.1.14, with Android API level 29 hardware.
Edit : Adding this to my app level build.gradle file solved the issue
defaultConfig {
ndk {
abiFilters 'armeabi-v7a', 'x86'
}
}
same issue ,dong't know how to fix
change gradle version to 3.4 works
change gradle version to 3.4 works
cannt sovle
If an error occurs in a higher version Unity: Failed to load 'libmain.so', the application will terminate.
Try the following method https://github.com/f111fei/react-native-unity-view/issues/142#issuecomment-557162700
I tried to change the gradle version to 3.x.x and it is working. But the new project of Android Studio 4.x does not work properly.
And tried the following solutions but it still does not work: https://github.com/f111fei/react-native-unity-view/issues/142#issue-523429382
Info
build.gradle(PROJECT:APP):
build.gradle(PROJECT):
Log: