Search code examples
androidibm-mobilefirst

MobileFirst Android Native App


I have trouble deploying MFP native app onto my device. I am able to run the app on my emulator without any issue. Did I miss any library? I am using MFP 7.1 SDK in Native Android application.

I receive the following error.

Target device: samsung-sm_g9117d-83251514e46 Installing APK:/Users/UserName/Documents/workspace3/MFPApp/app/build/outputs/apk/app-debug.apk Uploading file to: /data/local/tmp/com.project.mfp.mfpapp Installing com.project.mfp.mfpapp DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.project.mfp.mfpapp"
pkg: /data/local/tmp/com.project.mfp.mfpapp Failure [INSTALL_FAILED_NO_MATCHING_ABIS]


Solution

  • When you face [INSTALL_FAILED_NO_MATCHING_ABIS] error means that you are trying to install an app that was compiled for a archicteure that is different of your device.

    If you compiled an app for armv and install it on an device that uses Intel architecture, it will fail.

    HOW TO COMPILE FOR DIFFERENT ARCHITECTURES?

    Link 1

    Link 2

    Link 3

    Link 4