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

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,291 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,205 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
935 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Ken Tucker 5,846 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,406 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.**