Issues with Android Simulator

KeBiKeBi Member ✭✭

Hi,

I am making my first Xamarin Forms, and face some problems with running the app in android sim.
When i set the startup project to MyProject.Android, i have only these option:

Now when i run the project, i am getting:

But i don't see any errors in errors output windows? what do i miss here?

Thanks in advance

Best Answer

Answers

  • Ahsan_SiddiqueAhsan_Siddique PKMember ✭✭✭✭

    @KeBi said:
    Hi,

    I am making my first Xamarin Forms, and face some problems with running the app in android sim.
    When i set the startup project to MyProject.Android, i have only these option:

    Now when i run the project, i am getting:

    But i don't see any errors in errors output windows? what do i miss here?

    Thanks in advance

    The problem is with your project not with your emulator.

  • KeBiKeBi Member ✭✭

    @Ahsan_Siddique said:

    @KeBi said:
    Hi,

    I am making my first Xamarin Forms, and face some problems with running the app in android sim.
    When i set the startup project to MyProject.Android, i have only these option:

    Now when i run the project, i am getting:

    But i don't see any errors in errors output windows? what do i miss here?

    Thanks in advance

    The problem is with your project not with your emulator.

    What do you mean? what is the problem with my project?

  • Ahsan_SiddiqueAhsan_Siddique PKMember ✭✭✭✭

    If you want to check your emulator you can Run your emulator without running any project. Open android emulator manager and run your virtual device that you have installed.

    If your emulator work fine then the error will be in your project code.

  • Ahsan_SiddiqueAhsan_Siddique PKMember ✭✭✭✭
    edited July 2018

    @KeBi said:

    @Ahsan_Siddique said:

    @KeBi said:
    Hi,

    I am making my first Xamarin Forms, and face some problems with running the app in android sim.
    When i set the startup project to MyProject.Android, i have only these option:

    Now when i run the project, i am getting:

    But i don't see any errors in errors output windows? what do i miss here?

    Thanks in advance

    The problem is with your project not with your emulator.

    What do you mean? what is the problem with my project?

    Maybe your project have some errors. First just build your solution then deploy on your virtual device.

  • KeBiKeBi Member ✭✭

    @Ahsan_Siddique said:
    If you want to check your emulator you can Run your emulator without running any project. Open android emulator manager and run your virtual device that you have installed.

    If your emulator work fine then the error will be in your project code.

    Hi Ahsan,

    Thanks for response, When i open android device manager and click Start, then this error pops up:

    So i opened the SDK and i see that HAXM is already installed on my machine

    What is this mean?

  • Ahsan_SiddiqueAhsan_Siddique PKMember ✭✭✭✭

    @keBi Which machine you are using??

  • Ahsan_SiddiqueAhsan_Siddique PKMember ✭✭✭✭

    @KeBi said:

    @Ahsan_Siddique said:
    If you want to check your emulator you can Run your emulator without running any project. Open android emulator manager and run your virtual device that you have installed.

    If your emulator work fine then the error will be in your project code.

    Hi Ahsan,

    Thanks for response, When i open android device manager and click Start, then this error pops up:

    So i opened the SDK and i see that HAXM is already installed on my machine

    What is this mean?

    I think your hardware acceleration is disable or maybe your machine is not supported. First tell me your machine then i will tell you the way of resolving your issue.

  • Ahsan_SiddiqueAhsan_Siddique PKMember ✭✭✭✭
    edited July 2018

    Hi @KeBi,

    I am sharing some commands that can enable or disable machine hardware acceleration or Hyper-V.

    Cmd Run as a Administrator and Run the following commands. You can also use Power Shall if you want use.

    Command
    For Disable...
    dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All

    For Enable....
    dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All

    Power Shall
    For Disable...
    Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All

    For Enable....
    Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V –All

  • KeBiKeBi Member ✭✭

    @Ahsan_Siddique said:

    @KeBi said:

    @Ahsan_Siddique said:
    If you want to check your emulator you can Run your emulator without running any project. Open android emulator manager and run your virtual device that you have installed.

    If your emulator work fine then the error will be in your project code.

    Hi Ahsan,

    Thanks for response, When i open android device manager and click Start, then this error pops up:

    So i opened the SDK and i see that HAXM is already installed on my machine

    What is this mean?

    I think your hardware acceleration is disable or maybe your machine is not supported. First tell me your machine then i will tell you the way of resolving your issue.

    Hi Ahsan,

    It's a Intel(R) Xion(R) CPU E5504 2.00GHZ, 4 Cores with windows 10

  • SHUBHAMSHARMA_2927SHUBHAMSHARMA_2927 USMember ✭✭✭
    edited July 2018

    @KeBi Hello ,may in your system intel haxm is not install please go https://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager-intel-haxm and install it.may it halp you.

Sign In or Register to comment.