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
Depending on your device, you might need to give a specific app, such as Chrome, permission to install unofficial APK files. Or, if you see it, enable Install Unknown Apps or Unknown sources. If the file doesn't open, try browsing for it with a file manager like Astro File Manager or ES File Explorer File Manager.
Export Signed apk means you get the apk and it will provide the option to make the sign apk with existing keystore. Android requires that all apps be digitally signed with a certificate before they can be installed.
By signing multiple APKs with the same certificate and using signature-based permissions checks, your apps can share code and data in a secure manner.
All applications must be signed. The system will not install an application on an emulator or a device if it is not signed. To test and debug your application, the build tools sign your application with a special debug key that is created by the Android SDK build tools.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With