Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
I get the following error when I do not have a network connection. Here are the steps I can do to recreate it.
1. Activate my laptop (new registration license)
2. Disable the network
4. Open Xamarin
5. Xamarin displays an Unhandled Activation Error (see below)
6. Reconnect the network
7. Open Xamarin
8. Start to debug my app
9. Xamarin displays the Xamarin account login screen
10. I login and I get another licensed computer (now I have my laptop licensed twice)
This is occurring when I'm in the field trying to debug my app and has caused me to loose significant development time and is starting to impact my schedule.
System.Exception: Could not load machine data: monodroid: error XA0000: Unexpected error - Please file a bug report at http://bugzilla.xamarin.com. Reason: System.InvalidOperationException: The source sequence is empty
at System.Linq.Enumerable.First[String] (IEnumerable`1 source) [0x00000] in <filename unknown>:0
at Xamarin.Licensing.PlatformActivation.GetRegistrationXml (Mono.Touch.Activation.Common.License license) [0x00000] in <filename unknown>:0
at Xamarin.Licensing.PlatformActivation.ShowDataFile () [0x00000] in <filename unknown>:0
at Xamarin.Licensing.PlatformActivation.ProcessOptions () [0x00000] in <filename unknown>:0
at Monodroid.Arguments.Parse (IEnumerable`1 argv) [0x00000] in <filename unknown>:0
at Monodroid.MainClass.Main (System.String argv) [0x00000] in <filename unknown>:0
at Xamarin.Components.Ide.Activation.ActivationService.GetErrorWorkflow(LicenseSyncResult results, Boolean ignoreSyncErrors)
at Xamarin.Components.Ide.Activation.ActivationDialog.DisplayWorkflowStep(ActivationWorkflowStep step)
at Xamarin.Components.Ide.Activation.ActivationDialog.<>c__DisplayClass13.<StartSpinnerTaskAndScheduleContinuation>b__12(Task t)
Fixed in activation/0974e30d and monodroid/4311053e.
It's still happening. What do I need to do to get it fixed on my laptop?
"FIXED" doesn't mean that the fix is now available. FIXED means that it has been fixed *internally*, giving QA a chance to test it. Once QA is satisfied, the bug will be marked VERIFIED, and at some later point in time the fix will actually be shipped and usable by customers.
There is no current ETA on when this fix will be shipped to customers. Check the release notes to see what bugs are fixed.
This fix is included in XA 5.0, and will be part of an XA 5.0 preview release that will be published on the web within a week or so.
I don't see it in the Bug Fixes section of XA 5.0 notes - http://developer.xamarin.com/releases/android/xamarin.android_5/xamarin.android_5.0/.
Comment #4 is mistaken. The fix will be included in Xamarin.Android 5.1.
Created attachment 11039 [details]
Screenshot of bug not fixed.
Still not fixed in 5.1. See attached screenshot.
See previous comment #7.
@Mark are you still encountering this activation issue? I'm not certain that we managed to reproduce the exact scenario you're describing here, however an attempt at fixing this issue should have been available in stable as part of XA 5.1.
The error still occurs unless you follow the linked instructions and copy the license file into the appropriate folder prior to starting VS offline. So I think you can close this bug.
This issue should not impact the latest versions