Sometime when we install apk in Genymotion or Android Emulator this error comes and apk fail to install in vertual device. Also we get following error in trace 

 

 $ adb shell pm install -r "/data/local/tmp/com.instamasti"
Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
$ adb shell pm uninstall com.instamasti
DELETE_FAILED_INTERNAL_ERROR
Error while Installing APK

 

 

image3.png

 

Error Dialog



Cause of this issue
  This problem also come with when working with unity also. The problem is your app uses ARM architecture and the device or emulator that you are trying to install the app support otherwise such as x86. Try installing it on ARM emulator. Hope that solves the problem.
Solution For this issue
There could be 2 solutionn for this problem. 

Technorati Tags: ,,,

 Solution 1:
If you are working on NDK and you creating binary file then 
In your application.mk, try to add x86 at 

 APP_ABI := armeabi-v7a

and it should be look like this 

 APP_ABI := armeabi-v7a x86

Solution 2:
When you are using third party library or you have binary file then you need to add extra line in you build.gradle
I was able to use the x86 Accelerated (HAXM) emulator by simply adding this to my Module's build.gradle script Insideandroid{} block:

 android {
    compileSdkVersion 23
    buildToolsVersion "23.0.2"

    defaultConfig {
        applicationId "com.appname"
        minSdkVersion 16
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    splits {
        abi {
            enable true
            reset()
            include 'x86', 'armeabi-v7a'
            universalApk true
        }
    }


Please comment below for any query and also please appreciate if you feel helpful.

번호 제목 글쓴이 날짜 조회 수
82 프로그램 디버깅 학습 황제낙엽 2026.06.25 172
81 Gradle 프로젝트의 Buildship 캐시 삭제 방법 황제낙엽 2025.11.21 344
80 프로젝트 Source 폴더에 지정한 서블릿이 웹서비스에서 인식하지 않는 문제 황제낙엽 2025.01.04 740
79 [phind/Buildship Gradle Integration 3.0] Preferences / Gradle / Gradle distribution 에 대한 설명 황제낙엽 2024.11.11 731
78 STS (Eclipse)에서 Language Server 동작 비활성화 하기 file 황제낙엽 2023.12.28 2003
77 eclipse 에서 build.gradle 수정시 프로젝트에 자동 반영 황제낙엽 2023.12.28 768
76 IntelliJ 의 ultimate(상용) 와 community(무료) 버전의 차이 file 황제낙엽 2023.11.01 2201
75 eclipse tomcat 에 ssl 적용 황제낙엽 2023.09.10 732
74 localhost 는 접속 가능한데 도메인으로는 접속이 불가 황제낙엽 2023.08.13 681
73 remote desktop 에서 vscode 로 작업시 키입력이 되지 않을때 (from bing) 황제낙엽 2023.07.25 1767
72 Eclipse, Gradle 프로젝트 생성, Dynamic Web Project 로 변경 황제낙엽 2023.07.12 888
71 로컬 작업 중 모바일로 페이지 확인하는 방법 live server host file 황제낙엽 2023.05.23 720
70 유용한 단축키 모음 - 개발을 누구보다 빠르게 황제낙엽 2023.02.25 616
69 vector 이미지 만들기 황제낙엽 2022.12.22 598
68 자동 import 설정 file 황제낙엽 2022.12.22 652
67 [안드로이드 스튜디오] 자주 쓰는 단축키 20개 황제낙엽 2022.11.11 622
66 Android Studio GitHub 공유하기 및 사용하기 황제낙엽 2022.11.02 552
65 코드 포맷터 (Extension Prettier - Code formatter) file 황제낙엽 2021.01.16 699
64 디버깅 관련 (SourceMap, Debugger for Chrome, Node.js) 황제낙엽 2020.08.18 643
63 vscode에서 기본 디버깅과 프로세스 디버깅 file 황제낙엽 2020.08.16 803