首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何修复错误:无法解决: com.google.sceneform.ux:sceneform-ux:1.6.0?

如何修复错误:无法解决: com.google.sceneform.ux:sceneform-ux:1.6.0?
EN

Stack Overflow用户
提问于 2019-12-25 00:57:43
回答 3查看 268关注 0票数 0

实际上,我还是一个android studio的初学者。我尝试使用默认的Android4.4,但当我在build.gradle上添加一些实现时,通知说无法解析: com.google.sceneform.ux:sceneform-ux:1.6.0。我已经尝试了一些建议和一些教程,但仍然不能解决问题。代码如下:

代码语言:javascript
复制
apply plugin: 'com.android.application'

android {
    compileSdkVersion 29
    buildToolsVersion "29.0.2"
    defaultConfig {
        applicationId "com.example.arcraw"
        minSdkVersion 19
        targetSdkVersion 29
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'androidx.appcompat:appcompat:1.1.0'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test.ext:junit:1.1.1'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'

    implementation'com.google.sceneform.ux:sceneform-ux:1.6.0'
    implementation'com.karumi:dexter:6.0.1'
}
EN

回答 3

Stack Overflow用户

发布于 2019-12-25 17:37:07

基于Sceneform overview,您应该将gradle文件中的行从

代码语言:javascript
复制
implementation'com.google.sceneform.ux:sceneform-ux:1.6.0'

代码语言:javascript
复制
implementation 'com.google.ar.sceneform.ux:sceneform-ux:1.6.0'

更新:最新版本是1.14.0,以防您想要使用它

代码语言:javascript
复制
implementation 'com.google.ar.sceneform.ux:sceneform-ux:1.14.0'
票数 0
EN

Stack Overflow用户

发布于 2019-12-25 17:55:55

Hi此问题已在1.9.0版本中修复,或者您可以使用最新版本1.14.0

试一试

代码语言:javascript
复制
implementation 'com.google.ar.sceneform.ux:sceneform-ux:1.14.0
票数 0
EN

Stack Overflow用户

发布于 2020-10-17 09:20:12

在1:https://github.com/google-ar/sceneform-android-sdk中,你可以看到谷歌充斥着 sceneform android sdk,这个库是归档的,正如他们所说的:这个存储库已经归档,不再维护。

状态:非活动

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/59471618

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档