实际上,我还是一个android studio的初学者。我尝试使用默认的Android4.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'
}发布于 2019-12-25 17:37:07
基于Sceneform overview,您应该将gradle文件中的行从
implementation'com.google.sceneform.ux:sceneform-ux:1.6.0'至
implementation 'com.google.ar.sceneform.ux:sceneform-ux:1.6.0'更新:最新版本是1.14.0,以防您想要使用它
implementation 'com.google.ar.sceneform.ux:sceneform-ux:1.14.0'发布于 2019-12-25 17:55:55
Hi此问题已在1.9.0版本中修复,或者您可以使用最新版本1.14.0
试一试
implementation 'com.google.ar.sceneform.ux:sceneform-ux:1.14.0发布于 2020-10-17 09:20:12
在1:https://github.com/google-ar/sceneform-android-sdk中,你可以看到谷歌充斥着 sceneform android sdk,这个库是归档的,正如他们所说的:这个存储库已经归档,不再维护。
状态:非活动
https://stackoverflow.com/questions/59471618
复制相似问题