today i installed new updates from Xamarin studio and after installing new updates my ios bluetooth app stops working. When the app try to connect to the bluetooth device, it disconnects immediately by throwing following exception message:Disconnection Error:
Error Domain=CBErrorDomain Code=10 "The connection has failed unexpectedly." UserInfo=0x15863200 {NSLocalizedDescription=The connection has failed unexpectedly.}
I read the release notes of api changes in 7.1 and i think CB Error code 10 is shipped in these updates. Actually, i was going to publish my app to app store but due to this issue, it will be delayed. Is there anyone having the same issue? Is there any workaroung to solve this issue?
You can install earlier versions of Xamarin.iOS to work around this for now (in your Xamarin Store account: store.xamarin.com/account/my/subscription/downloads)
Related
Steps to Reproduce
Setting wrong DNS at Ipad wifi setting (ex: 5.6.7.8)
Run App, Request HttpClient.PostAsync
App Frozen
Expected Behavior
Response Error in Catch()
Actual Behavior
App Frozen
Environment
Microsoft Visual Studio Enterprise 2019
Version 16.5.2
Xamarin.iOS and Xamarin.Mac SDK 13.16.0.11
Ipad Ios 12, 13, 14
System.Net.Http 4.3.4
I have a Xamarin.Ios application, which has a function that uses HttpClient.PostAsync
In case the Ipad is setting DNS correctly, the app works normally, no problem
However, when the DNS setting is wrong, the app will freeze, when running to handle HttpClient.PostAsync
At the output, I'm seeing that Task PostAsync cannot be completed (for a long time there is still no error at Catch())
I have tried on many different devices
and also try on different versions of System.Net
But still can't solve
This can happen if you are running that command on the UI thread. In that case that is expected to happen. As such you need to start the process on a new thread using System.Tasks.Task.Run.
I am trying to deploy a Windows 10 app to a Lumia 635 running 10.0.10586.11 and I get this error:
Error : DEP6100 : The following unexpected error occurred during bootstrapping stage 'Connecting to the device 'DEVICE GUID'.': SEHException - External component has thrown an exception.
Error : DEP6200 : Bootstrapping 'Device' failed. Device cannot be found. The data necessary to complete this operation is not yet available.
Unlike most, I am capable of deploying to an Emulator, just not the physical device. Based on this question: Error : DEP6200 : Bootstrapping 'Device' failed. Device cannot be found
I verified that Windows Phone 8.1 is installed, and ensured that the latest SDK is installed, so neither of those were solutions. I am able to deploy to physical hardware for desktop/tablet mode, but no go on the Lumia 635.
Installing the latest mobile emulator preview fixed the deployment issue for me.
https://dev.windows.com/en-us/downloads/windows-10-developer-preview
As it turns out, it was an issue with the installation of Windows 10 Mobile on my device. After a reset the deployment works great, and I have deployed dozens of apps to the device.
1/3 Try registry patch
How to develop windows 10 uwp on real device (mobile)?
2/3 Update your UWP Tools. Latest one is '1.2', included at VS2015 Update1 RC. It's go-live. (But RTM ver will be released at 30 Nov.)
https://www.visualstudio.com/en-us/news/vs2015-update1-vs.aspx
3/3 This is just a workaround ... you can use "DevicePortal" to deploy your .appx package to your mobile device directly without Visual Studio.
Following blog is written in Japanese but the screenshots may helps you.
http://ddlgjp.blogspot.jp/2015/10/deviceportal-uwp-app-win10-mobile.html
I am developing Universal App using VS2015 in Win10. The simulator and the android emulator is running fine.
But when I started the Windows Phone Mobile Emulator, then the emulator runs and shows "OS is starting", and then after a long delay (i.e. 10mins) the Emulator turned off and these messages have been shown.
Error : DEP6100 : The following unexpected error occurred during bootstrapping stage 'Connecting to the device '8BDF218D-FDBB-4A97-90F9-3AA33B559A92'.':
DeviceException - App deployment failed. Please try again.
Error : DEP6200 : Bootstrapping 'Mobile Emulator 10.0.10240.0 WVGA 4 inch 512MB' failed. Device cannot be found. App deployment failed. Please try again. TestUWP2
What is this Bootstrapping error.
The Emulator in Hyper-V Manager is running fine. Plz help and let me get rid of it.
See the pic.
You need to install latest emulators and Windows SDK, you can get them from this page.
https://dev.windows.com/en-us/downloads/windows-10-developer-preview
Its also suggested to update your UWP Tools
http://go.microsoft.com/fwlink/?LinkId=627168
Installing the new emulators fixed the issue for me.
https://go.microsoft.com/fwlink/p/?LinkId=615095
got a app that work fine in 5.x but crash on 6.x - tried everything but no proper error logs etc
When the application crash on the device it cause the device to show the Apple logo and I have to do a restore to fix the device. At this same time it also cause the Emulator to crash.
Refer to bug:
https://bugzilla.xamarin.com/show_bug.cgi?id=11126
This is a issue in the Xamarin Studio IDE.
Just tried an App that works with WP7 emu and VS 2010, called a data Service and worked but tried with WP8 SDK in VS 2012 and it's not working on emu and breaks with "Not Found" error: An exception of type 'System.Data.Services.Client.DataServiceQueryException' occurred in System.Data.Services.Client.DLL but was not handled in user code
Someone have found this too?
Sounds much to me like your problem is the emulator not having any internet connectivity. I'll recommend you remove the emulator from the Hyper-V list, use a Ethernet cable to your computer, and then restart your project.