简体   繁体   中英

Xamarin, Android - App not installed error with signed APK

I followed this tutorial: https://developer.xamarin.com/guides/android/deployment,_testing,_and_metrics/publishing_an_application/part_1_-_preparing_an_application_for_release/

and this one: https://developer.xamarin.com/guides/android/deployment,_testing,_and_metrics/publishing_an_application/part_2_-_signing_the_android_application_package/

So I set the configuration to release and rebuilt my solution. After that, I archived my project, clicked on the distribute... button, selected Ad Hoc (So I could upload the APK to my Google Drive) generated a keystore and clicked on the save as button . Then I selected a location to save my APK, uploaded it to Google Drive and tried to install it on my phone, but I got this error:

X App not installed.

How can I fix this problem?

NOTE:

My phone is set to allow installations from unknown sources. If I install from adb I get this error:

Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]

I had the same error a few hours ago. Try to uninstall your app and then install the signed apk.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM