Skip to content

Problem with gvr and unitygvr files #21

@adri21112

Description

@adri21112

Hi.
I am working with a Unity 2017.3 project and I have problems to solve dependences on the Unity's build.gradle because I must to compile a gvr.aar file and unitygvr.aar file on the libs folder, this files are created with my Unity project.
The Android Studio throws "Failed to resolve: gvr" and "Failed to resolve: unitygvr"

This is my Unity build.gradle fragment:

allprojects {
   repositories {
      flatDir {
        dirs 'libs'
      }
   }
}

apply plugin: 'com.android.library'

dependencies {
	compile fileTree(dir: 'libs', include: ['*.jar'])
	compile(name: 'gvr', ext:'aar')
	compile(name: 'unitygvr', ext:'aar')
}

How can I fix that?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions