No connection of internet visual studio Apache cordova app - windows

I built apache cordova app in visual studio and also run it in windows emulator. It was opened in emulator but while I was using the app the app it showing internet connection error. I checked all the setting in system, emulator and also app permission all were fine. But still it was showing internet connection error I am unable find exact error any other. Internet working for emulator other than the app. I tried many ways, I did hyper-v settings also. what are the settings needed please suggest me.

Related

Can't connect to mac in visual studio

I'm trying to connect to mac in visual studio.
I did every step and I also connected to the Xamarin account.
In the Xamarin Mac Agent it found the mac which means I did the steps.
So sharing preferences are correctly configured at mac.
But when I try to connect to mac, after entering username and password it shows the following error:
Couldn't connect to MacBook.local. Please try again.
I don't know how I can solve this problem.
The Xamarin.iOS SDK and Xcode both need to be installed on the Mac you're trying to connect to. See Installing Xamarin.iOS on Windows and the step-by-step installation guides.
Once Xamarin is installed on both Mac and PC, you can check the log files for hints about any connectivity issues you may encounter.
Mac – ~/Library/Logs/Xamarin-[MAJOR.MINOR]
Windows – %LOCALAPPDATA%\Xamarin\Logs
You may also find the Connection Troubleshooting and general diagnostic info guides helpful.

xamarin unable to connect to mac - login failure

i have a mac mini. i am trying to add this to visual studio (version 2015 with update 3). it detects mac, gets the SSH fingerprint, and gives me the login screen. but then i get login failure. i can login through SSH to it without any problem. i can use VNC and connect to it using the same credentials. but i consistently get login failure when trying to connect through xamarin dialog box.
i haven't installed anything on mac, i have only enabled remote login, and enabled all options to connect me to it using SSH and everything seems to be working fine.
i don't understand what i am missing. i'll appreciate any help with this.
You need to install Xamarin.iOS on your Mac as a minimum to be able to connect from Visual Studio - if you don't have the Xamarin tooling installed on your Mac along with Xcode then you cannot build your iOS apps.
You do not need Xamarin Studio installed on the Mac, just Xamarin.iOS, but it is advisable as it makes it easier to update.
Check out our installation guide which walks you through downloading and installing everything you need:
https://developer.xamarin.com/guides/ios/getting_started/installation/mac/
We also have some guides for the Visual Studio side of things which may help if you continue have issues connecting:
https://developer.xamarin.com/guides/ios/getting_started/installation/windows/
I think that you need to install Xamarin Studio for Mac.

DEP3316 Error - Cannot deploy to Win10 Phone from Visual Studio 2015

I am unable to deploy an application via Visual Studio 2015 Update 2 to my Lumia 650. In the past it was possible but now I get the following error indicating to change the build configuration of a project or add an ARM device.
The build config is set to 'ARM', the device is connected via USB and my configuration manager looks like this.
The platform targets seem correct, so the config setting 'ARM' points to the platform target 'ARM'. I can run the app on my local computer, but I cannot deploy it to my phone. I also can't run the app in an emulator because if I choose the setting, VS does not change the caption and accept it. I don't have any more ideas.
If it helps I could provide my .sln file with all build configurations if desired. The only thing I did was checking out my source code to a new location on my hard drive. Since then I couldn't deploy anymore. Someone got any hints?
UPDATE:
I cannot deploy to my phone, run the app in an emulator or run the app in the simulator. The only thing that works is running on the local machine. Even all new apps I create cannot be deployed or run in an emulator or simulator. Visual Studio and SDK repair installation was made, no notable change.
If I load an old Windows Phone 8.1 RT or Silverlight project everything works normally, I can use the emulator and I can deploy it to the phone.
Right click your app in VS -> Properties -> Debugging
There is a combo box to select the target device. In my case there was no selection and I chose 'Device'. Now it works again.
https://dotblogs.com.tw/billchung/2016/04/03/051455

Not able to find Xamarin.iOS Build Host on Mac

After I installed Xamarin Studio v5.10 (build 871) on my Mac (OS X Yosemite v10.10.5), I can't find the Xamarin.iOS Build Host, even when using Spotlight. I want to pair Visual Studio with my Mac development machine. I found an answer on the Xamarin forums:
I was having the same issue on my Mac and was able to resolve the
issue by deleting the following directories/folders and reinstalling.
/Applications/Xamarin Studio.app /Developer/MonoTouch
/Developer/MonoAndroid /Library/Frameworks/Mono.framework
/Library/Frameworks/Xamarin.Mac.framework
/Library/Frameworks/Xamarin.Android.framework
Hope this helps.
Thx, Leland
I performed these steps and have uninstalled Xamarin on the Mac and then reinstalled, but this hasn't helped. What can the problem be and how can I solve it?
OS-X Build Host has become OS-X Build Agent:
Overview
The Xamarin Mac Agent provides a way for Visual Studio
developers writing Xamarin.iOS apps to connect to a Mac effortlessly
to control the building, deployment, and running of apps. Visual
Studio connects to the Mac over SSH, which provides several benefits,
including:
Ref: http://developer.xamarin.com/guides/ios/getting_started/installation/windows/xamarin-mac-agent/
The Xamarin.iOS Build host has evolved into the Build Agent.
You now don't have to start a separate application to be able to connect to your Mac and compile your iOS apps.
Here's how to do it;
Enable Remote login on you Mac.
With Spotlight search for Remote Login and tick the Remote Login box on the left side.
Select which users or user groups can connect.
Go to your Visual Studio and find the new icon, click it
Find your host, it's probably just one and click connect. Enter your credentials (if you need to) and wait for the chain icon to appear on the right of the selected host.
From now own it should connect automagically. Just wait for the screen in the Visual Studio toolbar icon to turn green.
For more info check the Xamarin documentation.
Also when you're connecting this way for the first time on an existing Xamarin project be sure to do a clean and rebuild to avoid errors.

Building WP app to phone App didn't start error

We are having an issue building my app in Debug mode to my physical devices, the error is posted below.
The device is dev unlocked and was working, but stopped with no warning. We can still work on the emulator and build in release mode to the device.
We have tried:
•Reassociating it with the Windows Phone store.
•Cleaning the solution.
•Deleting obj and bin folders.
•Rebuilding solutions
•Running VS in admin mode.
•Restarting the system.
Does anyone please have advice on how to resolve this issue as it is hurting our beta testing.
Error:
"Unable to activate Windows Store app 'App Name'. The Process started, but the activation request failed with error 'The app didn't start'"
try to remove the App.config file
If you already have the app installed on device, it will fail when you try to deploy using Visual studio. Is this a Windows Phone 8.1 app or 7.x app?

Resources