Android emulator starts but app doesn't show up - c#

I'm new to Xamarin, I created a blank app just to try it out
I have Windows Home so I can only have Android Studio's emulator. The emulator works fine when I either launch it from avd manager or visual studio, but from the latter my project just won't load.
From xamarin broker logs I get this error :
System.Net.Mqtt.Sdk.ServerPacketListener: Error: 0: Server - An error occurred while listening and dispatching packets
System.Net.Mqtt.MqttException: The keep alive tolerance of 00:00:45 seconds has been exceeded and no packet has been received from client
[[ From the avd manager when I launch the emulator I get this error "Telnet connection failed", idk what this means bc I can still access the internet through the emulator ]] EDIT : I activated telnet so i dont get this anymore, still not working tho
I tried to reinstall everything (sdk + vs)
I found several solutions which involve launching the emulator from the avd manager then deploy the solution from vs, but that seems to be possible only with visual studio emulator
I tried this App not run in visual studio emulator for android in visual studio 2015 but it uses a visual studio emulator which i can't have (it needs windows pro or enterprise for hyperV)
Thanks for your help

Related

Connection error when connecting to my mac from visual studio

For me all I do is open Visual Studio, click on connect to Mac, and then I get this error message:
The Broker initialization exceeded the timeout of 60000 millisecs
without receiving confirmation from the Broker.
I have tried restarting my Mac and PC and creating a new project. I have the latest versions of VS installed on both my Mac and PC. This issue is really annoying so any help would be much appreciated.

Unable to connect Xamarin MacAgent from VS 2017?

I am working on a Xamarin Project. I am trying to connect Xamarin MacAgent from my Windows - VS 2017 Community Edition to Macbook to test the iPhone Simulator. However, I am not able to connect.
I am connecting from Windows to Macbook using usb-ethernet cable. In the MacBook, System Preferences - I have set the Sharing option - Remote Login - All Users.
My MacBook has Xamarin Studio, XCode Installed on it.
I tested the connection from Windows - Commmand Prompt by pinging the MacBook IP Address, I get response. I have turned off firewall on both Macbook and Windows.
In Windows, I have cleaned up the files in the folder : Local\Xamarin\MonoTouch
In MacBook, I have cleaned the cache.
However, i am still getting the error as " Couln't connect to MyMacbook"
How do i fix this ??

Visual Studio Xamarin Physical Device Nexus 5X debugging

I'm trying to debug with my device 5x a xamarin.forms application, but the device
isn't listed in Visual Studio.
The Nexus 5 is listed if i use the command "adb devices"
The Nexus 5 is also listed correctly in the device manager (no errors)
The device is also listed in the android device monitor.
I can successful build and deploy an android application in android studio on the device.
But why I cant deploy btw its not shown in Visual Studio.
Thanks for the Help
Lastone

Visual Studio 2015 doesn't debug and deploy on windows physical device

I'm developing an Xamarin forms(portable) app in Visual Studio 2015.In emulator application runs and results perfectly..
My system config is much more then the required. I have connected my Windows phone to the computer and also it recognizes the device.
But when I debug the app in Visual Studio with device, its just processing for longer and doesn't results anything rather shows
Microsoft VS is busy
and just visual studio hangs
**
Currently i upgrade Windows SDK 10.0.26624 after that i faced this
issue
**

Failed to deploy WP 8.1 application to the mobile device

I am using MS Visual Studio 2013 Professional Edition with Update 3. When I try to deply a WP 8.1 to the mobile device, I am facing the following errors.
Error: DEP3100: Attempts to stop the application on target machine "127.0.0.1" failed.
This may cause the deployment to fail.
The network connection to the Visual Studio Remote Debugger has been closed.
Error DEP2300: The deployment tool (TailoredDeploy.exe) failed to run on the target machine "127.0.0.1".
The object invoked has disconnected from its clients.
I have earlier deployed application to this mobile device.
Why am I facing such an error now?
I manually uninstalled the app. And when I tried to re-install the app, the same error occurred. But the solution was more simpler than I thought. I restarted the phone after switching it off. Voila. Worked. I installed the app once again. Successfully debugged the application & was able to deploy it to the device.
PS: But still I don't know why this error occurred.

Categories

Resources