crc643f46942d9dd1fff9.formsseekbar.setpressed formsseekbar.java,第63行java.interop.javalocationexception:was thrown 以xamarin.forms的形式

gpfsuwkq  于 2021-06-30  发布在  Java
关注(0)|答案(0)|浏览(279)

关闭。这个问题需要细节或清晰。它目前不接受答案。
**想改进这个问题吗?**通过编辑这个帖子来添加细节并澄清问题。

上个月关门了。
改进这个问题
system.notsupportedexception:无法从本机句柄0xffeef5ac(密钥\句柄0x4db393b)激活xamarin.forms.platform.android.formsseekbar类型的示例。在<5029faf3775942b79c91624f8b49b012>中的java.interop.typemanager.createinstance(system.intptr handle,android.runtime.jnihandleownership transfer,system.type targettype)[0x0017e]:0在java.lang.object.getobject(system.intptr handle,android.runtime.jnihandleownership transfer,<5029faf3775942b79c91624f8b49b012>中的system.type type)[0x00023]:0位于java.lang.object.\u getobject[t](system.intptr handle,android.runtime.jnihandleownership transfer)[0x00017]:0位于java.lang.object.getobject[t](system.intptr handle,<5029faf3775942b79c91624f8b49b012>中的android.runtime.jnihandleownership transfer)[0x00000]:0位于java.lang.object.getobject[t](system.intptr jnienv,system.intptr handle,android.runtime.jnihandleownership transfer)[0x00006]:0位于android.views.view.n\u setpressedz(system.intptr jnienv,system.intptr native\uu this,system.boolean pressed)[0x00000]in<5029faf3775942b79c91624f8b49b012>:0 at(wrapper dynamic method)android.runtime.dynamicmethodnamecounter.152(intptr,intptr,bool)--内部异常堆栈跟踪结束---system.missingmethodexception:找不到的构造函数

Xamarin.Forms.Platform.Android.FormsSeekBar::.ctor(System.IntPtr, Android.Runtime.JniHandleOwnership)
at Java.Interop.TypeManager.CreateProxy (System.Type type, System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer) [0x000b5] in <5029faf3775942b79c91624f8b49b012>:0
at Java.Interop.TypeManager.CreateInstance (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer, System.Type targetType) [0x00111] in <5029faf3775942b79c91624f8b49b012>:0
--- End of inner exception stack trace ---
Java.Interop.JavaLocationException: Exception of type 'Java.Interop.JavaLocationException' was thrown.
at Java.Lang.Error: Exception of type 'Java.Lang.Error' was thrown.
at java.lang.Error: Java callstack:
at crc643f46942d9dd1fff9.FormsSeekBar.n_setPressed(Native Method)
at crc643f46942d9dd1fff9.FormsSeekBar.setPressed(FormsSeekBar.java:63)
at android.view.ViewGroup.dispatchSetPressed(ViewGroup.java:5348)
at android.view.View.setPressed(View.java:12220)
at android.view.ViewGroup.dispatchSetPressed(ViewGroup.java:5348)
at android.view.View.setPressed(View.java:12220)
at android.view.ViewGroup.dispatchSetPressed(ViewGroup.java:5348)
at android.view.View.setPressed(View.java:12220)
at android.view.ViewGroup.dispatchSetPressed(ViewGroup.java:5348)
at android.view.View.setPressed(View.java:12220)
at android.view.ViewGroup.dispatchSetPressed(ViewGroup.java:5348)
at android.view.View.setPressed(View.java:12220)
at android.view.ViewGroup.dispatchSetPressed(ViewGroup.java:5348)
at android.view.View.setPressed(View.java:12220)
at android.view.ViewGroup.dispatchSetPressed(ViewGroup.java:5348)
at android.view.View.setPressed(View.java:12220)
at android.view.View$UnsetPressedState.run(View.java:29702)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:8019)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)

应用程序在xamarin.forms和android 9中崩溃,并在appcenter中重复此崩溃。需要知道此问题是什么以及为什么会发生。请帮助解决此问题。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题