Rajawali / RajawaliVuforia

Rajawali + Vuforia Augmented Reality
Other
227 stars 108 forks source link

how to setup with android studio #52

Open ghost opened 9 years ago

ghost commented 9 years ago

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

mostafahashim commented 8 years ago

any help please

mostafahashim commented 8 years ago

can you follow steps with me ?

mosessjc commented 8 years ago

@mostafahashim can you help me to resolve this error

mostafahashim commented 8 years ago

unfortunately no

mosessjc commented 8 years ago

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

TheOska commented 8 years ago

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

mosessjc commented 8 years ago

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

TheOska commented 7 years ago

@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 commented 7 years ago

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 commented 7 years ago

@prabel could you explain more please

romaomb commented 6 years ago

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.