visual-studio-emulator

How to connect to localhost from VS Android Emulator

烂漫一生 提交于 2019-11-28 12:03:16
I am attempting to connect to the localhost of the machine from which I am booting a VS Android Emulator. I am able to successfully connect to the IIS Server when the Android version is Kitkat. However, I fail to connect when the VS Android Version is Lollipop or Marshmallow. The way I am connecting to the localhost is typing http://169.254.80.80 in the browser of the Emulator. As per http://developer.android.com/tools/devices/emulator.html#networkaddresses I should be able to connect to localhost using the IP address 10.0.2.2. However, this IP address doesn't seem to work for me. The network

How to connect to localhost from VS Android Emulator

江枫思渺然 提交于 2019-11-27 06:42:08
问题 I am attempting to connect to the localhost of the machine from which I am booting a VS Android Emulator. I am able to successfully connect to the IIS Server when the Android version is Kitkat. However, I fail to connect when the VS Android Version is Lollipop or Marshmallow. The way I am connecting to the localhost is typing http://169.254.80.80 in the browser of the Emulator. As per http://developer.android.com/tools/devices/emulator.html#networkaddresses I should be able to connect to

Xamarin Forms Android App Crashes Running Debug with VS Android Emulator

北战南征 提交于 2019-11-27 04:12:55
I have a basic Xamarin Forms app I created. It works fine against the iOS simulator. However when I try and run with a VS Android Emulator (5.1in Marshmallow) it crashes every time upon opening. Even when I try and run without debugging. Below is the error I keep seeing: 01-14 16:22:10.290 D/Mono ( 1366): AOT module 'mscorlib.dll.so' not found: dlopen failed: library "/data/app-lib/App3.Droid-2/libaot-mscorlib.dll.so" not found 01-14 16:22:10.290 D/Mono ( 1366): AOT module '/Users/builder/data/lanes/2512/d3008455/source/monodroid/builds/install/mono-x86/lib/mono/aot-cache/x86/mscorlib.dll.so'

Nativescript project running with Visual Studio Emulator

主宰稳场 提交于 2019-11-26 23:22:42
问题 I have a Nativescript application that I'm developing using VS Code and have no issues when I try to run it using the Nativescript launch configurations from the Nativescript extension, when I'm using a real device connected with USB or when I use one of the android-sdk emulators. Now I need to run Hyper-V on the machine too and those emulators cannot run when hypervisor is on. So I downloaded and installed Visual Studio Android Emulator which runs fine when I launch it manually. Problem is

App not run in visual studio emulator for android in visual studio 2015

℡╲_俬逩灬. 提交于 2019-11-26 20:22:22
I create blank xamarin android project without add any code when i debug this project debugging without problem but when i run app with visual studio emulator for android emulator is running but not starting my app and deploy failed and don't show me error why ? please help me CSharpRocks I had the same issue. VS 2015 can launch the VS emulator but can't deploy the app. I was able to solve the issue like this: Launch the emulator (F5 in VS, then cancel the deployment using the Build/Cancel menu) Click on the chevron icon ( » ) in the toolbar to the right of the emulator Select the Network tab

'Visual Studio Emulator for Android' devices are not listed in the Android Device Monitor

时光总嘲笑我的痴心妄想 提交于 2019-11-26 19:51:06
问题 I can start the VS Emulator devices just fine, but they simply don't show up in ADB/Android studio. I searched and found a similar SO question (same issue, only I installed the standalone emulator) but OP provided a workaround and I would like to know how to actually fix it so it shows up every time as intended instead of having to connect it manually (and as per SO etiquette didn't want to ask there in the comments). I also found a "solution" in a Microsoft FAQ post which instructs you to

App not run in visual studio emulator for android in visual studio 2015

你离开我真会死。 提交于 2019-11-26 06:37:13
问题 I create blank xamarin android project without add any code when i debug this project debugging without problem but when i run app with visual studio emulator for android emulator is running but not starting my app and deploy failed and don\'t show me error why ? please help me 回答1: I had the same issue. VS 2015 can launch the VS emulator but can't deploy the app. I was able to solve the issue like this: Launch the emulator (F5 in VS, then cancel the deployment using the Build/Cancel menu)