jcphlux / XamarinAudioManager

Cross platform Audio Manager for Xamarin
MIT License
36 stars 6 forks source link

The type initializer for 'AudioManager.Audio' threw an exception. #15

Open acaliaro opened 7 years ago

acaliaro commented 7 years ago

Hi @jcphlux I have this error when I run your demo (Android)

at AudioManager.Demo.MainPage+casync0.MoveNext () [0x00022] in /Users/alessandrocaliaro/Projects/Test/XamarinAudioManager/AudioManager.Demo/AudioManager.Demo/MainPage.xaml.cs:15 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/4009/f3074d2c/source/mono/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143 at System.Runtime.CompilerServices.AsyncMethodBuilderCore.m0 (System.Object state) [0x00000] in /Users/builder/data/lanes/4009/f3074d2c/source/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:1018 at Android.App.SyncContext+cAnonStorey0.<>m0 () [0x00000] in /Users/builder/data/lanes/4009/9578cdcd/source/xamarin-android/src/Mono.Android/Android.App/SyncContext.cs:35 at Java.Lang.Thread+RunnableImplementor.Run () [0x0000b] in /Users/builder/data/lanes/4009/9578cdcd/source/xamarin-android/src/Mono.Android/Java.Lang/Thread.cs:36 at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00009] in /Users/builder/data/lanes/4009/9578cdcd/source/monodroid/src/Mono.Android/platforms/android-25/src/generated/Java.Lang.IRunnable.cs:81 at (wrapper dynamic-method) System.Object:d6f7ea15-7fa1-46ad-b5b7-c20d764a7bc7 (intptr,intptr)

JeffB1 commented 7 years ago

@acaliaro did you ever get this resolved? I have same issue

ghost commented 7 years ago

Same issue here

slim8791 commented 7 years ago

the same problem

michaelrinderle commented 7 years ago

same here!