Reputation: 1789
I have tried all the possible solution available on stackoverflow. But I am getting the same error again and again. Not sure from where it's coming from. I followed this thread. And updated the build.gradle file to
splits {
abi {
enable true
reset()
include 'x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'mips', 'mips64', 'arm64-v8a'
universalApk false
}
}
This is the error I am getting
Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113.
It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.
WARNING: Uninstalling will remove the application data!
Do you want to uninstall the existing application?
Till yesterday night this was working fine. But today it's ruining my day. Could some one please help me with this ?
I am not using additional application like genymotion or arc welder. I am getting this error on android emulator.
I tried running it on real device, but same issue.
Regards
Upvotes: 2
Views: 636
Reputation: 1789
Can't believe this error happened because of an apache library. I recently added few apache dependency in my project and then this error starts appearing. The line I added
implementation 'org.apache.directory.studio:org.apache.commons.io:2.4'
And then after that struggling entire day. Finally I undo all my changes and find out this was happening because of the apache package.
I added this dependency in build.gradle and it works fine.
implementation group: 'commons-io', name: 'commons-io', version: '2.5'
.
But not able to figured out how the apache packages interrupt emulator to work properly. Strange !
Posting this answer so that if someone could understand the reason behind the problem, please explain it to me as well :P
Upvotes: 3