适用于Android 10的Xamarin Android Google愿景

问题描述

我正在使用Xamarin.GooglePlayServices.Vision开发应用程序。我的问题是我能够在模拟器(Android 9/10)上运行/安装它,但随后无法在手机(Android 10)上安装它。我正在研究此问题,结果发现由于Xamarin.GooglePlayServices.Vision软件包而无法安装我的应用程序。当我尝试安装应用程序时,它只会显示:“无法安装应用程序。”。奇怪的是,它可以在我的模拟器上正常运行(无论是否安装了Google视觉软件包)。有人有同样的经历吗???有什么办法可以解决这个问题?仅使用其他库对我来说会更好吗?

我的包裹:

感谢您的帮助:)

编辑: 安装时我的Logcat:

[08-28 14:25:58.148 25058:25077 D / OpenGLRenderer] makeCurrent EglSurface:0x0-> 0x75df2b3480

[08-28 14:25:58.171 25058:25058 D / LogcatReader] [LogcatLiveFragment] onServiceConnected

[08-28 14:25:58.350 25058:25058 D / ViewRootImpl @ 6e2fd9d [MainActivity]] MSG_WINDOW_FOCUS_CHANGED 1 1

[08-28 14:25:58.350 25058:25058 D / InputMethodManager] prepareNavigationBarInfo()DecorView @ 48556d3 [MainActivity]

[08-28 14:25:58.350 25058:25058 D / InputMethodManager] getNavigationBarColor()-855310

[08-28 14:25:58.354 25058:25058 D / InputMethodManager] prepareNavigationBarInfo()DecorView @ 48556d3 [MainActivity]

[08-28 14:25:58.355 25058:25058 D / InputMethodManager] getNavigationBarColor()-855310

[08-28 14:25:58.355 25058:25058 V / InputMethodManager] 开始输入:tba = com.dp.logcatapp ic = null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true,NavVisible:true,NavTrans:false

[08-28 14:25:58.355 25058:25058 D / InputMethodManager] startInputInner-ID:0

[08-28 14:25:58.355 25058:25058 I / InputMethodManager] startInputInner-mService.startInputOrWindowGainedFocus

[08-28 14:25:59.941 25058:25058 D / ViewRootImpl @ 6e2fd9d [MainActivity]] ViewPostIme指针0

[08-28 14:26:00.115 25058:25058 D / ViewRootImpl @ 6e2fd9d [MainActivity]] ViewPostIme指针1

[08-28 14:26:00.620 25058:25058 D / ViewRootImpl @ 6e2fd9d [MainActivity]] ViewPostIme指针0

[08-28 14:26:00.683 25058:25058 D / ViewRootImpl @ 6e2fd9d [MainActivity]] ViewPostIme指针1

[08-28 14:26:03.451 25058:25058 D / LogcatReader] [Logcat] onActivityInBackground

[08-28 14:26:03.452 25058:25058 D / ViewRootImpl @ 6e2fd9d [MainActivity]] MSG_WINDOW_FOCUS_CHANGED 0 1

[08-28 14:26:03.452 25058:25058 D / InputMethodManager] prepareNavigationBarInfo()DecorView @ 48556d3 [MainActivity]

[08-28 14:26:03.452 25058:25058 D / InputMethodManager] getNavigationBarColor()-855310

[08-28 14:26:03.474 25058:25058 D / InputTransport] 输入通道被破坏:“ ClientS”,fd = 91

[08-28 14:26:03.778 25058:25077 D / OpenGLRenderer] makeCurrent EglSurface:0x75df2b3480-> 0x0

[08-28 14:26:03.778 25058:25077 D / OpenGLRenderer] destroyEglSurface:0x75df2b3480

[08-28 14:26:03.778 25058:25077 I / mali_egl] egpDestroySurface()在

[08-28 14:26:03.781 25058:25077 I / mali_winsys] delete_surface()[1080x2400]返回

[08-28 14:26:03.781 25058:25077 I / mali_egl] eglDestroySurface()退出

[08-28 14:26:03.781 25058:25077 W / libEGL] EGLNativeWindowType 0x766c1c7610断开连接失败

[08-28 14:26:03.781 25058:25077 D / OpenGLRenderer] 〜ReliableSurface:0x766c1c7600

[08-28 14:26:03.787 25058:25058 D / ViewRootImpl @ 6e2fd9d [MainActivity]] 返回中继:old =(0,1080,2400)new =(0,2400)req =(1080,2400)8 dur = 6 res = 0x5 s = {false 0} ch = true >

[08-28 14:26:03.787 25058:25058 D / ViewRootImpl @ 6e2fd9d [MainActivity]] 已停止(true)old = false

[08-28 14:26:03.797 25058:25058 D / ViewRootImpl @ 6e2fd9d [MainActivity]] 返回中继:旧=(0,2400)新=(0,2400)8 dur = 4 res = 0x5 s = {false 0} ch = false >

[08-28 14:28:52.045 25058:25077 D / OpenGLRenderer] makeCurrent EglSurface:0x0-> 0x75df2b3480

[08-28 14:28:58.587 25058:25058 D / LogcatReader] [Logcat] onActivityInBackground

[08-28 14:28:58.591 25058:25058 D / ViewRootImpl @ 6e2fd9d [MainActivity]] MSG_WINDOW_FOCUS_CHANGED 0 1

[08-28 14:28:58.591 25058:25058 D / InputMethodManager] prepareNavigationBarInfo()DecorView @ 48556d3 [MainActivity]

[08-28 14:28:58.591 25058:25058 D / InputMethodManager] getNavigationBarColor()-855310

[08-28 14:28:58.610 25058:25058 D / InputTransport] 输入渠道遭到破坏:“ ClientS”,fd = 77

[08-28 14:28:58.928 25058:25077 D / OpenGLRenderer] makeCurrent EglSurface:0x75df2b3480-> 0x0

[08-28 14:28:58.928 25058:25077 D / OpenGLRenderer] destroyEglSurface:0x75df2b3480

[08-28 14:28:58.928 25058:25077 I / mali_egl] egpDestroySurface()在

[08-28 14:28:58.932 25058:25077 I / mali_winsys] delete_surface()[1080x2400]返回

[08-28 14:28:58.932 25058:25077 I / mali_egl] eglDestroySurface()退出

[08-28 14:28:58.933 25058:25077 W / libEGL] EGLNativeWindowType 0x75559417d0断开连接失败

[08-28 14:28:58.933 25058:25077 D / OpenGLRenderer] 〜ReliableSurface:0x75559417c0

[08-28 14:28:58.938 25058:25058 D / ViewRootImpl @ 6e2fd9d [MainActivity]] 返回中继:old =(0,2400)8 dur = 5 res = 0x5 s = {false 0} ch = true >

[08-28 14:28:58.938 25058:25058 D / ViewRootImpl @ 6e2fd9d [MainActivity]] 已停止(true)old = false

[08-28 14:28:58.963 25058:25058 D / ViewRootImpl @ 6e2fd9d [MainActivity]] 返回中继:旧=(0,2400)8 dur = 4 res = 0x5 s = {false 0} ch = false >

[08-28 14:29:16.795 25058:25058 D / ViewRootImpl @ 6e2fd9d [MainActivity]] 返回中继:旧=(0,2400)4 dur = 13 res = 0x1 s = {false 0} ch = false >

[08-28 14:29:16.796 25058:25058 D / ViewRootImpl @ 6e2fd9d [MainActivity]] 已停止(false)old = true

[08-28 14:29:16.807 25058:25058 D / ViewRootImpl @ 6e2fd9d [MainActivity]] 已停止(false)old = false

[08-28 14:29:16.808 25058:25058 D / LogcatReader] [Logcat] onActivityInForeground

[08-28 14:29:16.808 25058:25058 D / LogcatReader] [Logcat]发布待处理的日志

[08-28 14:29:16.821 25058:25058 D / ViewRootImpl @ 6e2fd9d [MainActivity]] 返回中继:旧=(0,2400)0 dur = 7 res = 0x7 s = {true 508620337152} ch = true >

[08-28 14:29:16.822 25058:25077 D / OpenGLRenderer] createReliableSurface:0x75559417c0(0x766c227000)

[08-28 14:29:16.823 25058:25077 I / mali_winsys] new_window_surface()[1080x2400]返回:0x3000

[08-28 14:29:16.827 25058:25077 D / OpenGLRenderer] makeCurrent EglSurface:0x0-> 0x75df2b3480

[08-28 14:29:16.845 25058:25058 D / LogcatReader] [LogcatLiveFragment] onServiceConnected

[08-28 14:29:16.848 25058:25058 D / ViewRootImpl @ 6e2fd9d [MainActivity]] MSG_WINDOW_FOCUS_CHANGED 1 1

[08-28 14:29:16.848 25058:25058 D / InputMethodManager] prepareNavigationBarInfo()DecorView @ 48556d3 [MainActivity]

[08-28 14:29:16.848 25058:25058 D / InputMethodManager] getNavigationBarColor()-855310

[08-28 14:29:16.850 25058:25058 D / InputMethodManager] prepareNavigationBarInfo()DecorView @ 48556d3 [MainActivity]

[08-28 14:29:16.850 25058:25058 D / InputMethodManager] getNavigationBarColor()-855310

[08-28 14:29:16.850 25058:25058 V / InputMethodManager] 开始输入:tba = com.dp.logcatapp ic = null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true,NavVisible:true,NavTrans:false

[08-28 14:29:16.850 25058:25058 D / InputMethodManager] startInputInner-ID:0

[08-28 14:29:16.850 25058:25058 I / InputMethodManager] startInputInner-mService.startInputOrWindowGainedFocus

[08-28 14:29:17.864 25058:25058 D / ViewRootImpl @ 6e2fd9d [MainActivity]] ViewPostIme指针0

[08-28 14:29:18.062 25058:25058 D / ViewRootImpl @ 6e2fd9d [MainActivity]] ViewPostIme指针1

[08-28 14:29:19.934 25058:25058 D / ViewRootImpl @ 6e2fd9d [MainActivity]] ViewPostIme指针0

[08-28 14:29:20.011 25058:25058 D / ViewRootImpl @ 6e2fd9d [MainActivity]] ViewPostIme指针1

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...