简体   繁体   中英

Android App from Visual Studio is not running on Emulator

I have written an android application in Visual Studio 2015. While Trying to run that application on Emulator i am getting below on my output screen:

1>Starting deploy 5" Marshmallow (6.0.0) XHDPI Phone ...
1>Starting emulator 5" Marshmallow (6.0.0) XHDPI Phone ...
1>Validating emulator arguments...
1>Determining if emulator is already running...
1>Preparing virtual machine...
1>Launching emulator...
1>Emulator launched successfully.

Any help how I can run my application on emulator ? 这就是我的模拟器的样子

在此处输入图片说明

I got the solution for this issue:

  1. Go to regedit.exe.
  2. Navigate to HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Android.
  3. Change the SDK path to my Xamarin Mono Android SDK folder.
  4. The path originally was C:\\Users[User]\\AppData\\Local\\Android\\android-sdk then I changed to C:\\Users[User]\\AppData\\Local\\Xamarin\\MonoForAndroid\\AndroidSDK
  5. It worked :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM