简体   繁体   中英

Signed apk doesn't work on my device

I've developped an android application using Xamarin. It works fine on the emulator but crashes on real device. The apk gets installed on the device and on opening the app it says "application has stopped unexpectedly.Please try again" and forces the application to close. Targeting framework, minimum sdk version etc everything is fine but still does not work. Any help will be appreciated. Thanks

When you're debugging with Xamarin Studio (or Visual Studio), Xamarin.Android will install the Mono runtime and support files separately.If your application is Debug-built app, then the problem will be that the shared runtime isn't present. So on "Release" mode please ensure that you uncheck "Use shared mono runtime" on project options. I have attached the screenshot please go through. 在此输入图像描述

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