My application run at emulator but crashes on real device

asyasy TRMember

Hello everybody. I m new at Xamarin.
Today i created my first project. Everything works at Xamarian Android Player emulator. But i send bind/debug/applicationName-Signed.apk to my phone and installed. Application opening the app say "application has stopped unexpectedly. Please try again" what can i do?

Is it .apk file not true? How can i export .apk? And what i need works at real device?

Best Answer

  • KenYeeKenYee US ✭✭
    Accepted Answer

    did you change the project settings like I told you to???

Answers

  • KenYeeKenYee USMember ✭✭

    If you're putting the debug build on the phone, be sure to turn off shared libraries in the settings. It slows down your builds, but I left that setting off so that I wouldn't hit that again. Yes, same symptom :-(

  • asyasy TRMember

    i created empty project now. Same as again. How can i export apk? i think visual studio automatically do it in bind/debug/applicationName-Signed.apk is it true? How can i test on real device?

  • ClintonLandryClintonLandry USUniversity

    What is the build / debug output? It could be unsupported android version, lack of permissions, a legitimate code crash that needs to be stepped in debugger hard to say.

  • KenYeeKenYee USMember ✭✭
    Accepted Answer

    did you change the project settings like I told you to???

  • asyasy TRMember

    Thanks for answer i can build on Release configuration :smile:

  • Emixam23Emixam23 USMember ✭✭✭

    I'm on release mod for both of them, how can you set off the shared libs?

Sign In or Register to comment.