“android.runtime.JavaProxyThrowable”是什么意思?我该如何解决?
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了“android.runtime.JavaProxyThrowable”是什么意思?我该如何解决?相关的知识,希望对你有一定的参考价值。
我在Play控制台中获得以下内容。我不知道JavaProxyThrowable是什么意思。如何找出错误的含义并修复它?
android.runtime.JavaProxyThrowable:
at DiabeticNow.MainActivity+<>c__DisplayClass3_0.<OnCreate>b__1 (System.Object <p0>, System.EventArgs <p1>) [0x01744] in <dabfa6ee96644f0a980241e8b5bd1c61>:0
at Android.Views.View+IOnClickListenerImplementor.OnClick (Android.Views.View v) [0x00011] in <794f2773dcf94ef592cfddeec7272681>:0
at Android.Views.View+IOnClickListenerInvoker.n_OnClick_Landroid_view_View_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_v) [0x0000f] in <794f2773dcf94ef592cfddeec7272681>:0
at (wrapper dynamic-method) System.Object:04a4eea7-8182-4d20-9207-17bd8bcbd598 (intptr,intptr,intptr)
at mono.android.view.View_OnClickListenerImplementor.n_onClick (Native Method)
at mono.android.view.View_OnClickListenerImplementor.onClick (View_OnClickListenerImplementor.java:30)
at android.view.View.performClick (View.java:6261)
at android.widget.TextView.performClick (TextView.java:11159)
at android.view.View$PerformClick.run (View.java:23748)
at android.os.Handler.handleCallback (Handler.java:751)
at android.os.Handler.dispatchMessage (Handler.java:95)
at android.os.Looper.loop (Looper.java:154)
at android.app.ActivityThread.main (ActivityThread.java:6776)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1496)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1386)
答案
看起来这是Xamarin用来将C#异常转换为Java异常的方法。似乎有关C#代码中问题可能出现的详细信息:
DiabeticNow.MainActivity+<>c__DisplayClass3_0.b__1 (System.Object , System.EventArgs ) [0x01744] in :0
at Android.Views.View+IOnClickListenerImplementor.OnClick (Android.Views.View v) [0x00011] in <794f2773dcf94ef592cfddeec7272681>:0
at Android.Views.View+IOnClickListenerInvoker.n_OnClick_Landroid_view_View_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_v) [0x0000f] in ...
如果您发布了相关的c#代码并使用C#标记,则某人可能会提供帮助。
以上是关于“android.runtime.JavaProxyThrowable”是什么意思?我该如何解决?的主要内容,如果未能解决你的问题,请参考以下文章