Error when export APK and install this APK file with Xamarin Forms

I have used release mode and debug mode too with Xamarin.forms:

Build-> Archive for Publishing wizard.
After publishing, I selected Ad Hoc and saved the APK to my local drive.

I have min SDK version API level 15 (4.0.3) with target API 23, I have required permission.
I have selected all items from list on Suported ABIs (armeabi, armeabi-v7a, x86, x86_64 and arm64-v8a)
I test with my Nexus 5 with 6.0.1 but I send APK

Always show same error...
(Spanish) Error de análisis
se ha producido un error al analizar el paquete

(English) Parse error
There was a problem parsing the package

I have tested with my custom application and I have generated a sample APK for this library
https://components.xamarin.com/view/zxing.net.mobile.forms

Why?

Posts

  • MarjanMarjanMarjanMarjan USUniversity
    edited September 2016

    When you build the package successfully you get two options of "Open file" or "Open Distribution". Locate to build version from open Distribution and use that .apk file.

  • I have the same error :neutral:
    can some one help me please
    Error de análisis
    se ha producido un error al analizar el paquete

  • geozedgeozed ARMember ✭✭

    I have the same error. Can some one help us pls?

  • DaprinDaprin IDMember ✭✭

    I have the same error too

  • joseacjrjoseacjr USMember

    I have the same error too..
    I think Microsoft little care about this

  • strgtasastrgtasa Member

    Hi,

    Maybe is too late, but I had the same problem and I solved it by giving the right permissions to the App (on the Android Manifest). After adding "INSTALL_PACKAGES" permission it worked perfectly.

    Regards.

Sign In or Register to comment.