首页 > 解决方案 > 如何修复错误:无法解决:com.google.sceneform.ux:sceneform-ux:1.6.0?

问题描述

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

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'
}

标签: android

解决方案


如[1]:https ://github.com/google-ar/sceneform-android-sdk 你可以看到谷歌有很多sceneform android sdk,并且图书馆如他们所说的那样被归档:这个存储库已经被归档并且不再是保持。

状态:不活动


推荐阅读