субота, 1 липня 2017 р.

Exceptions...


E/AndroidRuntime( 1892): Caused by: android.runtime.JavaProxyThrowable: System.DivideByZeroException: Attempted to divide by zero.
E/AndroidRuntime( 1892):   at Sample.PersonalBudget..ctor () [0x00230] in <f5634a8f2718474699a651b585799c90>:0
E/AndroidRuntime( 1892):   at Sample.App..ctor () [0x0000f] in <f5634a8f2718474699a651b585799c90>:0

vs

I/MonoDroid( 2066): System.DivideByZeroException: Attempted to divide by zero.
I/MonoDroid( 2066):   at Sample.PersonalBudget..ctor () [0x00230] in /wrk/all/one/projects/Sample/Sample/PersonalBudget.cs:70 
I/MonoDroid( 2066):   at Sample.App..ctor () [0x0000f] in /wrk/all/one/projects/Sample/Sample/App.xaml.cs:14 
I/MonoDroid( 2066):   at Sample.Droid.MainActivity.OnCreate (Android.OS.Bundle bundle) [0x00027] in /wrk/all/one/projects/Sample/Droid/MainActivity.cs:27 

Seems this is a solution:
./adb shell setprop debug.mono.debug 1


Немає коментарів:

Дописати коментар