App由于geoview.startrendering()system.invalidoperationException:未在Xamarin.forms中使用Android初始化的设备,因此App正在崩溃。

发布于 2025-01-26 01:06:14 字数 688 浏览 3 评论 0原文

当导航到映射时,AppCrash及其AppCenter日志显示为geoview.startrendering()system.invalidoperationException:设备未初始化。这个问题很少与Android设备发生。请帮助解决此问题。

geoview.startrendering() RenderingThread.onresume() isurfaceTextUrelistener.OnsurfaceTextursxexizechanged(android.graphics.surfaceTexture surfaceTexture,system.int.int32 width,system.int.int32高度) TextureView+ISurfaceTextureListenerInvoker.n_OnSurfaceTextureSizeChanged_Landroid_graphics_SurfaceTexture_II (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_surface, System.Int32 width, System.Int32 height) (包装器动态方法)android.runtime.dynamicmethodnamecounter.181(intptr,intptr,intptr,intptr,int,int,int)

when navigating to mappage an appcrash happend and its appcenter log showing as GeoView.StartRendering () System.InvalidOperationException: Device not initialized. this issue happening rarely with android devices.please help to resolve this issue.

GeoView.StartRendering ()
RenderingThread.OnResume ()
ISurfaceTextureListener.OnSurfaceTextureSizeChanged (Android.Graphics.SurfaceTexture surfaceTexture, System.Int32 width, System.Int32 height)
TextureView+ISurfaceTextureListenerInvoker.n_OnSurfaceTextureSizeChanged_Landroid_graphics_SurfaceTexture_II (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_surface, System.Int32 width, System.Int32 height)
(wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.181(intptr,intptr,intptr,int,int)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文