AndroidStudio Google VR安装

时间:2018-11-10 23:13:22

标签: android android-studio gradle android-gradle google-vr-sdk

因此,我为正在处理的项目设置了一个AndroidStudio项目。我需要Google VR SDK为相机视图创建一个VR查看器,该视图上将绘制有用的元素。为此,我正在安装适用于Android的Google的vr sdk。

这是我的settings.gradle:

include ':app'
include ':openCVLibrary341'
include ':gvr-android-sdk/libraries:common'
include ':gvr-android-sdk/libraries:base'
include ':gvr-android-sdk/libraries:commonwidget'
include ':gvr-android-sdk/libraries:videowidget'

这是我的应用程序的build.gradle中包含的依赖项:

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
    implementation project (':openCVLibrary341')
    implementation project (':gvr-android-sdk/libraries:base')
    implementation project (':gvr-android-sdk/libraries:common')
    implementation project (':gvr-android-sdk/libraries:commonwidget')
    implementation project (':gvr-android-sdk/libraries:videowidget')
}

更多信息: 当我从github克隆gvr-android-sdk时,我在项目目录中。 以及当我尝试重新同步项目时的错误消息:

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve project :gvr-android-sdk/libraries:base.

0 个答案:

没有答案