문제

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. enter image description here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top