question

sreekant avatar image
sreekant asked bedoco2182 sent

Installation did not succeed. The application could not be installed: INSTALL_FAILED_NO_MATCHING_ABIS in clover mini 2

Using Clover mini 8.1 in android emulator.


When I am sideloading my emulator showing error:

Launching 'app' on Clover Mini (2nd gen) API 27.

Installation did not succeed.

The application could not be installed: INSTALL_FAILED_NO_MATCHING_ABIS

Installation failed due to: 'null'

Retry



Please suggest how to fix this issue.

It is installing successfully in the clover station and mini first generation.

compileSdkVersion 27
minSdkVersion 17    
targetSdkVersion 25 


my gradle:

android {

    //for flex devices
    splits {
        abi {
            enable true
            reset()
            include 'armeabi','armeabi-v7a','x86','x86_64','arm64-v8a'
            universalApk true
        }
    }


    //added by sree
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }


  


    /* lintOptions {
         checkReleaseBuilds false
         // Or, if you prefer, you can continue to check for errors in release builds,
         // but continue the build even when errors are found:
         abortOnError false
     }*/

    compileSdkVersion 27


    defaultConfig {
        applicationId "com.xxxxxxxxx.application"
        minSdkVersion 17
        //noinspection ExpiredTargetSdkVersion,OldTargetApi
        targetSdkVersion 25 
        multiDexEnabled true
        versionCode 69          // Sandbox last version code  63
        versionName "1.0-69"   // Sandbox last release  "1.0-63"
//        versionCode 26          // Production last version code  25
//        versionName "2.6"   // Production last release  "2.5"
        signingConfig signingConfigs.debug
    }
    buildTypes {
        release {
            minifyEnabled false
            shrinkResources false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            debuggable false
            jniDebuggable false
            zipAlignEnabled true
        }

        debug {
            debuggable true
            minifyEnabled false
            shrinkResources false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }

    packagingOptions {
        exclude 'lib/getLibs.ps1'
        exclude 'lib/getLibs.sh'
        exclude 'lib/gson-2.2.2.jar'
    }


}

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'com.android.support:multidex:1.0.3'
    implementation 'com.android.support:appcompat-v7:27.1.1'
    implementation 'com.android.support:design:27.1.1'
    implementation 'com.android.support:support-v13:27.1.1'
    implementation 'com.afollestad.material-dialogs:core:0.9.0.2'
    implementation 'com.android.support:support-v4:27.1.1'
    implementation 'com.clover.sdk:clover-android-sdk:248.4'
    implementation 'com.android.support:recyclerview-v7:27.1.1'
    implementation 'org.apache.directory.studio:org.apache.commons.codec:1.8'
    implementation 'org.apache.commons:commons-lang3:3.5'
    implementation 'commons-io:commons-io:2.6'
    implementation 'com.android.volley:volley:1.1.0'
    implementation 'com.android.support:cardview-v7:27.1.1'
    implementation 'com.github.citux:datetimepicker:0.2.0'
    implementation 'com.intuit.sdp:sdp-android:1.0.4'
    implementation 'com.google.code.gson:gson:2.8.5'
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
    implementation 'com.clover.sdk:remote-pay-android-connector:1.2'
    implementation 'com.sun.mail:android-mail:1.6.2'
    implementation 'com.sun.mail:android-activation:1.6.2'
    testImplementation 'junit:junit:4.12'

//    compile files('libs/gson-2.3.1.jar')
    implementation files('libs/signalr-client-sdk-android.jar')
    implementation files('libs/signalr-client-sdk.jar')

}


Clover Mini
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sreekant avatar image
sreekant answered

Thanks for replying but after removing splits block I am getting the same error.

By putting build variant to release from debug, it is working.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

David Marginian avatar image
David Marginian Deactivated answered acastaneda converted comment to answer

https://stackoverflow.com/questions/24572052/install-failed-no-matching-abis-when-install-apk. Might be because of this in your build.gradle:

  1. //for flex devices
  2. splits {
  3. abi {
  4. enable true
  5. reset()
  6. include 'armeabi','armeabi-v7a','x86','x86_64','arm64-v8a'
  7. universalApk true
  8. }
  9. }


10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

devis avatar image
devis answered

"INSTALL_FAILED_NO_MATCHING_ABIS" is an error message that appears when trying to install an Android app on a device with an incompatible CPU architecture. This means that the app's binary code is not compatible with the device's processor, resulting in the installation failure. Got this error when trying to install GACHA NOX in my computer.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

kubernetesdashboard avatar image
kubernetesdashboard answered

The INSTALL_FAILED_NO_MATCHING_ABIS error typically occurs when you're trying to install an application on a device, like the Clover Mini 2, that doesn't support the application's architecture. To resolve this, you should first check the architecture of your Clover Mini 2 and ensure that the APK you're trying to install is compatible with it (e.g., ARM or x86). If you're manually installing an APK, make sure you're using the correct version that supports the device’s architecture. Additionally, updating the Clover Mini 2's firmware can help resolve compatibility issues. If you're developing the app, ensure you rebuild it with the appropriate ABIs for the Clover Mini 2. If the issue persists, reaching out to Clover’s support team can provide further assistance tailored to your device.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community