【问题标题】:Error: this application requires the latest version of Google Play services for AR错误:此应用程序需要用于 AR 的最新版本的 Google Play 服务
【发布时间】:2020-09-17 13:01:10
【问题描述】:

我正在使用sceneform (1.17.1) 制作应用程序,但当我启动它时,会出现以下消息:“此应用程序需要最新版本的AR 谷歌播放服务。”

我认为问题不是我的设备引起的(Pixel 3a XL、Android 11),并且适用于 AR 应用的 Google Play 服务不需要更新。

【问题讨论】:

  • 我也面临同样的问题。我已经直接从统一代码构建和运行,但在 Flutter 上集成面临这个问题。

标签: android arcore sceneform


【解决方案1】:

我将以下代码添加到我不知道的 app/build.gradle 但它在没有更新 ar 的情况下工作。

  Add to app build.gradle

    //sceneform
    implementation 'com.google.ar.sceneform.ux:sceneform-ux:1.15.0'
    implementation 'com.google.ar.sceneform:assets:1.15.0'
    implementation 'com.google.ar:core:1.29.0

 and add root/build.gradle to dependencies this line 
 
    classpath 'com.google.ar.sceneform:plugin:1.15.0'

【讨论】:

    【解决方案2】:

    嗯,在另一台设备(Galaxy S9、Android 10)上测试后,问题似乎出在我的设备上。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-01-21
      • 2020-05-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多