Deployment failed:Mono.AndroidTools.InstallFailedException: Failure [INSTALL_FAILED_NO_MATCHING_ABIS

I have just created a project in xamarin business in visual studio.I am able to build in debug mode.But in release mode it shows following below error.Because of this there is no apk generated in release mode.Please help in this. Any guidence is appreciated.

1> Processing: obj\Release\res\values\strings.xml
1> Processing: obj\Release\res\layout\main.xml
1> Processing: obj\Release\res\values\strings.xml
2>Starting deploy Lollypop ...
2>Deploying Lollypop ...
2>Build started.
2>C:\Program Files (x86)\Java\jdk1.7.0_71\bin\keytool.exe -list -alias androiddebugkey -storepass android -keypass android -keystore "C:\Users\star\AppData\Local\Xamarin\Mono for Android\debug.keystore"
2>C:\Program Files (x86)\Java\jdk1.7.0_71\bin\jarsigner.exe -keystore "C:\Users\star\AppData\Local\Xamarin\Mono for Android\debug.keystore" -storepass android -keypass android -digestalg SHA1 -sigalg md5withRSA -signedjar bin\Release\DemoProject.DemoProject-Signed-Unaligned.apk "c:\users\star\documents\visual studio 2015\Projects\DemoProject\DemoProject\obj\Release\android\bin\DemoProject.DemoProject.apk" androiddebugkey
2>No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2046-02-23) or after any future revocation date.
2>C:\android-sdk-Win\build-tools\22.0.1\zipalign.exe 4 "c:\users\star\documents\visual studio 2015\Projects\DemoProject\DemoProject\bin\Release\DemoProject.DemoProject-Signed-Unaligned.apk" "bin\Release\DemoProject.DemoProject-Signed.apk"
2>:Deployment failed
2>Mono.AndroidTools.InstallFailedException: Failure [INSTALL_FAILED_NO_MATCHING_ABIS]
2> at Mono.AndroidTools.Internal.AdbOutputParsing.CheckInstallSuccess(String output, String packageName)
2> at Mono.AndroidTools.AndroidDevice.c__AnonStoreyD.<>m__0(Task1 t) 2> at System.Threading.Tasks.ContinuationTaskFromResultTask1.InnerInvoke()
2> at System.Threading.Tasks.Task.Execute()
2>Deployment failed because of an internal error: Failure [INSTALL_FAILED_NO_MATCHING_ABIS]
2>InternalError
2>Build succeeded.
2>Deploy successfully on Lollypop
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 1 succeeded, 0 failed, 0 skipped ==========

Posts

  • la.tanblala.tanbla USMember
    edited April 2016

    I just started getting this same error as well, but I get it even in debug mode.

    EDIT:

    Just found this and it worked for me.

  • eturketurk USMember

    Trying to run BasicTable sampe on x86 emulator.
    Runs (slow) on arm emulator.

    Even using wipe to start a fresh emulator for fresh android run doesn't work.
    (APK has never successful been deployed to the x86)

    some help...

    1>------ Build started: Project: BasicTable, Configuration: Release Any CPU ------
    1> BasicTable -> C:\Users\\OneDrive\Documents\Visual Studio 2017\Projects\BasicTableSample\bin\Release\BasicTable.dll
    2>Starting deploy VisualStudio_android-23_x86_phone ...
    2>Starting emulator VisualStudio_android-23_x86_phone ...
    2>C:\PROGRA~2\Android\android-sdk\tools\emulator.EXE -partition-size 512 -no-boot-anim -avd VisualStudio_android-23_x86_phone -prop monodroid.avdname=VisualStudio_android-23_x86_phone
    2>Hax is enabled
    2>Hax ram_size 0x40000000
    2>HAX is working and emulator runs in fast virt mode.
    2>emulator: Listening for console connections on port: 5556
    2>emulator: Serial number of this emulator (for ADB): emulator-5556
    2>Emulator VisualStudio_android-23_x86_phone is running.
    2>Waiting for emulator to be ready...
    2>Deploying VisualStudio_android-23_x86_phone ...
    2>Build started.
    2>C:\Program Files\Java\jdk1.8.0_112\bin\keytool.exe -list -alias androiddebugkey -storepass android -keypass android -keystore "C:\Users\\AppData\Local\Xamarin\Mono for Android\debug.keystore"
    2>C:\Program Files\Java\jdk1.8.0_112\bin\jarsigner.exe -keystore "C:\Users\\AppData\Local\Xamarin\Mono for Android\debug.keystore" -storepass android -keypass android -digestalg SHA1 -sigalg md5withRSA -signedjar bin\Release\com.xamarin.samples.basictable-Signed-Unaligned.apk "C:\Users\\OneDrive\Documents\Visual Studio 2017\Projects\BasicTableSample\obj\Release\android\bin\com.xamarin.samples.basictable.apk" androiddebugkey
    2>No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2047-04-03) or after any future revocation date.
    2>C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.3\zipalign.exe 4 "C:\Users\\OneDrive\Documents\Visual Studio 2017\Projects\BasicTableSample\bin\Release\com.xamarin.samples.basictable-Signed-Unaligned.apk" "bin\Release\com.xamarin.samples.basictable-Signed.apk"
    2>Failure [INSTALL_FAILED_NO_MATCHING_ABIS]
    2>Build succeeded.
    ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
    ========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========

  • eturketurk USMember

    think i fixed it
    up too late trying to code :(

  • JassimRahmaJassimRahma USMember ✭✭✭

    I am getting

    **INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries
    **
    on Android Emulator

    Kindly help..

Sign In or Register to comment.