Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with gvr and unitygvr files #21

Closed
adri21112 opened this issue Mar 26, 2018 · 3 comments
Closed

Problem with gvr and unitygvr files #21

adri21112 opened this issue Mar 26, 2018 · 3 comments

Comments

@adri21112
Copy link

adri21112 commented Mar 26, 2018

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

@yasirkula
Copy link
Owner

These might help:

https://stackoverflow.com/a/31558348/2373034
https://stackoverflow.com/a/32546892/2373034

@adri21112
Copy link
Author

I solved it with the first link. I think this is interesting to add to your readme.
Thanks for your tip!

@yasirkula
Copy link
Owner

Will do!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants