Open ghost opened 9 years ago
any help please
can you follow steps with me ?
@mostafahashim can you help me to resolve this error
unfortunately no
@mostafahashim Thank you for your reply. I have resolved the error
@mosessjc Could you teach me how to solve this problem? I am also facing this error
Hi @TheOska that is version problem error. Try to create using older version
@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 :)
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
@prabel could you explain more please
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.
Error:(22, 13) Failed to resolve: org.rajawali3d.vuforia:rajawalivuforia:1.0.0-SNAPSHOT Show in File
Show in Project Structure dialog