get Power fail/restart exceptions during Android native debugging

Hi! I got many "power fail/restart" exceptions on uncertain locations during native debugging. I guess what caused it is that I access sensors data by sensor manager. I can't show my code and I remove my all C++ code won't stop this. Can you tell what cause this exactly? How can I get through this?

Thanks a lot for your helping.

Tagged:

Answers

  • YorkGoYorkGo CNMember, Xamarin Team Xamurai

    Would you mind sharing a basic demo that could reproduce this issue?

  • YupengJiaYupengJia Member ✭✭

    Hi, @YorkGo.

    Thank you for your replying. I am glad to share my apps. I make a simple demo without any functional code and It remains the same issue.

    How to reproduce this issue:
    1. debug my app in C++ mode;
    2. select "AR" from the menu;
    3. click the bottom right floating button, and click preview mode > AR.
    4. wait for seconds, and I get this;

    You can get my demo from this.
    https://1drv.ms/u/s!AgrLuI-w8UdAncJOyRMaHP3rygEhpQ

    By the way, My IDE is visual studio 2019.

    Thanks again.

Sign In or Register to comment.