I tried to add Unity as a library to Android Studio and I got this error when I click on button that take me to unity app, there is no compile or build error. unity app works fine alone, also android app. this problem occurs when i tried to embedded unity in android this is the error
I tried these solutions and nothing works with me: 1-run the app with many devices and emulators 2-change player sittings on unity 3-add this to App level's gradle
defaultConfig {
ndk {
abiFilters 'armeabi-v7a', 'x86'
}
}
4-add this to Module's build.gradle
splits {
abi {
enable true
reset()
include 'x86', 'armeabi-v7a'
universalApk true
}
}