Le Trung Anh
Le Trung Anh

Reputation: 71

Xamarin Android release .apk error in visual studio 2015

I'm working with Xamarin Android and I want to export apk file in Visual Studio 2015. I use "Archive" feature in "Build" option on navigation bar of Visual Studio 2015. I exported apk file success but when I install it on device, it happens error

Parse Error : There is a problem parsing the package

Anyone can help me? Thanks!!!

Upvotes: 0

Views: 782

Answers (1)

Elvis Xia - MSFT
Elvis Xia - MSFT

Reputation: 10841

This error can be caused by various reasons, but you can check a few things to make sure you have generated the correct apk file:

  1. Please make sure you have signed the apk file. You can refer to Manually Signing the APK for details about signing an apk file.

  2. Please check the CPU Architectures of your apk file.

  3. If the error persists, please try use adb install apkFileName.apk to install the apk. The error message will be shown if the installation fails. You can find the adb under AndroidSDKFolder\platform-tools\adb.exe.

Upvotes: 1

Related Questions