Xamarin android emulator black screen/Can`t run blank project

Sna1l1 11 Reputation points
2021-01-17T06:59:04.363+00:00

All in title. At the first: Hyper-v is enable, processor - amd, i dont have HAXM.

What i`m tried:

Set Release mode and in advanced settings enable x86 architacture.
No errors in logs, i just tilted and cant start developing on Xamarin.

I`m also tried to lauch my app (this is default blank xamarin project, i didnt changed anything) on my mobile device using debugging in developer options. All components are installed and apk on my device too. But when i trying to open app, the application opens for 1 second and immediately closes. I just dont know what to do.

Visual studio 2019, AMD Phenom x955

Developer technologies | .NET | Xamarin
Developer technologies | Visual Studio | Debugging
Developer technologies | C#
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Ken Tucker 5,861 Reputation points
    2021-01-17T14:37:04.247+00:00

    Did you install the Android Emulator and the Android Emulator driver for Hypervisor in the android sdk manager tools tab?

    57368-droid-sdk.png

    If it still wont start try doing a factor reset on the emulator by right clicking on emulator and selecting factory reset

    57210-emulators.png


  2. Dylan Zhu-MSFT 6,426 Reputation points
    2021-01-18T04:42:27.007+00:00

    Hi Sna1l1,

    Please try to enable "Migrate to a physical computer with a different processor" for the emulator.

    1. Click Start, point to Administrative Tools, and then click Hyper-V Manager.
    2. Select the server running Hyper-V and the desired virtual machine.
    3. If the virtual machine is running, you must shut down the virtual machine to change the processor compatibility mode setting.
    4. In the Action pane, click Settings, and then click Processor.
    5. Expand Processor, and click Compatibility.
    6. Click "Migrate to a physical computer with a different processor", and then click OK.

    Best Regards,
    Dylan


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our **documentation to enable e-mail notifications if you want to receive the related email notification for this thread.**


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.