Skip to content

Instantly share code, notes, and snippets.

using System;
using System.Reflection;
using Android.App;
using Android.Content;
using Example.Droid.Renderers;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
[assembly: ExportRenderer(typeof(TimePicker), typeof(TimePicker24HRenderer))]
namespace Example.Droid.Renderers
using System;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Threading.Tasks;
using Xamarin.Forms;
using EntryTest.Models;
using EntryTest.Views;
using System.Globalization;
"main" tid=1 Blocked
"main" prio=5 tid=1 Blocked
| group="main" sCount=1 dsCount=0 obj=0x75a5d748 self=0xa9b84e00
| sysTid=2215 nice=0 cgrp=default sched=0/0 handle=0xacd5b534
| state=S schedstat=( 3159362960 227565426 1468 ) utm=233 stm=82 core=3 HZ=100
| stack=0xbe288000-0xbe28a000 stackSize=8MB
| held mutexes=
at com.microsoft.appcenter.channel.DefaultChannel.invalidateDeviceCache (DefaultChannel.java:242)
- waiting to lock <0x0f1c7016> (a com.microsoft.appcenter.channel.DefaultChannel) held by thread 16
at com.microsoft.appcenter.AppCenter.setInstanceWrapperSdk (AppCenter.java:328)
"main" tid=1 Blocked
"main" prio=5 tid=1 Blocked
| group="main" sCount=1 dsCount=0 obj=0x75a5d748 self=0xa9b84e00
| sysTid=2215 nice=0 cgrp=default sched=0/0 handle=0xacd5b534
| state=S schedstat=( 3159362960 227565426 1468 ) utm=233 stm=82 core=3 HZ=100
| stack=0xbe288000-0xbe28a000 stackSize=8MB
| held mutexes=
at com.microsoft.appcenter.channel.DefaultChannel.invalidateDeviceCache (DefaultChannel.java:242)
- waiting to lock <0x0f1c7016> (a com.microsoft.appcenter.channel.DefaultChannel) held by thread 16
at com.microsoft.appcenter.AppCenter.setInstanceWrapperSdk (AppCenter.java:328)
{
"Length": 0,
"Offset": 0,
"id": "ec71b07a-0b38-41c2-84e4-51b536d5ebf5",
"exception": {
"type": "Java.Lang.RuntimeException",
"message": "Exception of type 'Java.Lang.RuntimeException' was thrown.",
"stackTrace": " at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0xd26227d8 + 0x0001c> in <88698b6cdf5846338aefc0158220cef8>:0 \n at Java.Interop.JniEnvironment+InstanceMethods.CallObjectMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) [0x00069] in <bc0f220d5ab04cac85ad84031d6d2bcc>:0 \n at Android.Runtime.JNIEnv.CallObjectMethod (System.IntPtr jobject, System.IntPtr jmethod, Android.Runtime.JValue* parms) <0xd148e5b0 + 0x0007f> in <2336a6412dbc46e1a3401290a93b0ad7>:0 \n at WindowsAzure.Messaging.NotificationHub.Register (System.String pnsHandle, System.String[] tags) <0xcfe25c7c + 0x00207> in <15e1a3139a484a5a85c0680e5d11bb86>:0 \n at <app name>.Services.HubManagerService+<>c__DisplayClass6_0.<.ct
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Acr.Support" version="2.1.0" targetFramework="monoandroid71" />
<package id="Acr.UserDialogs" version="6.5.1" targetFramework="monoandroid80" />
<package id="AndHUD" version="1.2.0" targetFramework="monoandroid71" />
<package id="Com.Airbnb.Android.Lottie" version="2.3.1.0" targetFramework="monoandroid80" />
<package id="Com.Airbnb.Xamarin.Forms.Lottie" version="2.4.1" targetFramework="monoandroid80" />
<package id="ISY.Forms.Core" version="1.1.0" targetFramework="monoandroid80" />
<package id="ISY.Forms.SimpleInjector" version="1.0.0" targetFramework="monoandroid80" />
<package id="Microsoft.AppCenter" version="1.5.0" targetFramework="monoandroid81" />
My project error report:
Severity Code Description Project File Line
Error The "LinkAssemblies" task failed unexpectedly.
Xamarin.Android.XamarinAndroidException: error XA2006: Reference to metadata item 'System.Void Android.OS.BaseBundle::PutBoolean(System.String,System.Boolean)' (defined in 'XLabs.Platform.Droid, Version=2.0.5743.21415, Culture=neutral, PublicKeyToken=null') from 'XLabs.Platform.Droid, Version=2.0.5743.21415, Culture=neutral, PublicKeyToken=null' could not be resolved. ---> Mono.Cecil.ResolutionException: Failed to resolve System.Void Android.OS.BaseBundle::PutBoolean(System.String,System.Boolean)
at Mono.Linker.Steps.MarkStep.MarkMethod(MethodReference reference)
at Mono.Linker.Steps.MarkStep.MarkInstruction(Instruction instruction)
at Mono.Linker.Steps.MarkStep.MarkMethodBody(MethodBody body)
at Mono.Linker.Steps.MarkStep.ProcessMethod(MethodDefinition method)
at Mono.Linker.Steps.MarkStep.ProcessQueue()
@pfaucon
pfaucon / gist:db9fe66b8f961be69556
Created May 27, 2015 07:04
WebService Xamarin.iOS crash
Process: WebServicesRxNormSample [44805]
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/7EB4CBDC-0E69-4D72-A098-1CFA195CC6CD/data/Containers/Bundle/Application/684D803A-B9B1-4A6D-985A-E907A5AA261E/WebServicesRxNormSample.app/WebServicesRxNormSample
Identifier: WebServicesRxNormSample
Version: 1.0
Code Type: X86 (Native)
Parent Process: launchd_sim [44741]
Responsible: launchd_sim [44741]
User ID: 501
Date/Time: 2015-05-27 08:54:25.828 +0200
Loaded assembly: /Users/User/Library/Developer/CoreSimulator/Devices/7BDF52FF-E614-40B4-9453-B01D806DEB00/data/Containers/Bundle/Application/12B1602F-49BB-453E-BAA7-7982DE9FE793/WebServicesRxNormSample.app/monotouch.dll [External]
Loaded assembly: /Users/User/Library/Developer/CoreSimulator/Devices/7BDF52FF-E614-40B4-9453-B01D806DEB00/data/Containers/Bundle/Application/12B1602F-49BB-453E-BAA7-7982DE9FE793/WebServicesRxNormSample.app/System.Core.dll [External]
Loaded assembly: /Users/User/Library/Developer/CoreSimulator/Devices/7BDF52FF-E614-40B4-9453-B01D806DEB00/data/Containers/Bundle/Application/12B1602F-49BB-453E-BAA7-7982DE9FE793/WebServicesRxNormSample.app/System.dll [External]
Loaded assembly: /Users/User/Library/Developer/CoreSimulator/Devices/7BDF52FF-E614-40B4-9453-B01D806DEB00/data/Containers/Bundle/Application/12B1602F-49BB-453E-BAA7-7982DE9FE793/WebServicesRxNormSample.app/WebServicesRxNormSample.exe
Loaded assembly: /Users/User/Library/Developer/CoreSimulator/Devices/7BDF52FF-E614-40B4-9453-B01D8
@pfaucon
pfaucon / gist:67bab93ce44b754348ea
Created November 4, 2014 16:52
Gist from the latest run - SRR950078 only
vagrant@vagrant-ubuntu-trusty-64:/vagrant_data/seqc-test/seqc/work$ bcbio_nextgen.py ../config/seqc.yaml -n 8
[2014-10-30 16:28] Using input YAML configuration: /vagrant_data/seqc-test/seqc/config/seqc.yaml
[2014-10-30 16:28] Checking sample YAML configuration: /vagrant_data/seqc-test/seqc/config/seqc.yaml
[2014-10-30 16:28] Testing minimum versions of installed programs
[2014-10-30 16:28] Resource requests: AlienTrimmer, picard; memory: 2.0, 3.5; cores: 1, 1
[2014-10-30 16:28] Configuring 1 jobs to run, using 1 cores each with 3.8g of memory reserved for each job
[2014-10-30 16:28] Timing: adapter trimming
[2014-10-30 16:28] multiprocessing: prepare_sample
[2014-10-30 16:28] Preparing UHRR_rep1
[2014-10-30 16:28] multiprocessing: trim_sample