Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Apk not working on Device

I have created project on visual studio 2019. Project is working on emulator successfully. Then i created apk. Installed apk on my device. Login page opened but when cleck login button just closed my app. sometimes just closed. sometimes error occured "App keeps stopping".
Please help me

Best Answer

Answers

  • LandLuLandLu Member, Xamarin Team Xamurai

    Try to connect your Android device directly to the Windows and debug to see the exception. It seems some error occurs when it says "App keeps stopping"
    Real physical device is different from the emulators and we could see more detailed logs when debugging directly on it.

  • munkhboldmunkhbold Member ✭✭

    @LandLu said:
    Try to connect your Android device directly to the Windows and debug to see the exception. It seems some error occurs when it says "App keeps stopping"
    Real physical device is different from the emulators and we could see more detailed logs when debugging directly on it.

    hello @LandLu
    for my phone above comment worked. i attached my phone as emulator. after that it is worked. But for another devices my application did not work. after attached devices as emulator app is working. why is it happened?

Sign In or Register to comment.