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

how to setup with android studio #52

Open
ghost opened this issue Jun 1, 2015 · 11 comments
Open

how to setup with android studio #52

ghost opened this issue Jun 1, 2015 · 11 comments

Comments

@ghost
Copy link

ghost commented Jun 1, 2015

Error:(22, 13) Failed to resolve: org.rajawali3d.vuforia:rajawalivuforia:1.0.0-SNAPSHOT
Show in File
Show in Project Structure dialog

@mostafahashim
Copy link

any help please

@mostafahashim
Copy link

can you follow steps with me ?

@mosessjc
Copy link

@mostafahashim can you help me to resolve this error

@mostafahashim
Copy link

unfortunately no

@mosessjc
Copy link

@mostafahashim Thank you for your reply. I have resolved the error

@TheOska
Copy link

TheOska commented Sep 17, 2016

@mosessjc Could you teach me how to solve this problem? I am also facing this error

@mosessjc
Copy link

Hi @TheOska that is version problem error. Try to create using older version

@TheOska
Copy link

TheOska commented Nov 20, 2016

@mosessjc Thank you for your reply :) . I found the alternative way to setup with android studio, at lease it works for me ;)

I found the reason that why there is an error Failed to resolve:

org.rajawali3d.vuforia:rajawalivuforia:1.0.0-SNAPSHOT

in build.gradle file.

According to the setup guide, I use Git Bash to run this command:

git clone https://github.com/Rajawali/RajawaliVuforia.git
./RajawaliVuforia/RajawaliVuforia/gradlew.bat clean assembleRelease uploadArchives

After completely downloaded, it said something like "BUILD FAILED" at the end, I think this is the reason that fail to load in build./gradle file

Instead of run "clean assembleRelease uploadArchives" in Git Bash, I run it in Android studio with the tap "Terminal", and after download completed, it will say "BUILD SUCCESSFUL" and successfully run the project. I hope it works for other who encounter this error :)

@prabel
Copy link

prabel commented Jul 12, 2017

I find out different solution. You could add mavenCentral() repository and use for example this version
compile 'org.rajawali3d:vuforia:1.1.970'
And do use SNAPSHOT versions

@mohammedqissa
Copy link

@prabel could you explain more please

@romaomb
Copy link

romaomb commented Nov 8, 2017

I tried @TheOska solution and IT WORKED! I'm using Android Studio 3.0 and I didn't update gradle for the project. Don't forget to add:

mavenCentral() for releases, and maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } for snapshots.

Just download or clone https://github.com/Rajawali/Rajawali, open the project from Android Studio and run the following on Terminal:

gradlew.bat clean assembleRelease uploadArchives

I got 3 warnings, but it worked almost perfectly, just two or three examples didn't run.

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

6 participants