Closed flankechen closed 9 years ago
If you call the uploadArchives task you can build local snapshots of each dependency. This is not very well setup yet and should be much better soon we when start pushing official builds.
similar here, in my example executing uploadArchives returns fail and:
Could not find org.rajawali3d:rajawali:1.0.232-SNAPSHOT.
Hi, Try uncommenting this line: //maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } That should fix it. Mistakenly commented out. Will fix this.
Thanks for quick answer. I've managed to build project. Now, what is the proper way of importing project? When I import just RajawaliVuforiaExample still Android Studio Gradle returns error:
RajawaliVuforiaExample shouldn't be looking for the Rajawali lib but the RajawaliVuforia lib in mavenLocal()
.
It should be looking for org.rajawali3d.vuforia:rajawalivuforia:1.0.0-SNAPSHOT
. See https://github.com/Rajawali/RajawaliVuforia/blob/master/RajawaliVuforiaExample/app/build.gradle#L23
You should build RajawaliVuforia using this command:
./gradlew clean assembleRelease uploadArchives
This will build the local version of the library.
Hi! I'm having the same problem…
I uncomment the line:
//maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
and build RajawaliVuforia project correctly with this:
./gradlew clean assembleRelease uploadArchives
But when I import just RajawaliVuforiaExample still Android Studio Gradle returns exactly the same error.
Got solution. Change in RejawaliVuforiaExample build.gradle (this one in root not in app folder):
allprojects {
repositories {
jcenter()
mavenLocal()
}
}
to
allprojects {
repositories {
jcenter()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
mavenLocal()
}
}
Sounds like big workaround byt in my case it worked, app compiled and run perfectly :)
Great! My app compile and run perfectly, too :D
Good to hear guys. I'll update the files.
You're also welcome to submit a pull request for this :)
The fix has been pushed to master.
Still get same erro
Failed to resolve: org.rajawali3d.vuforia:rajawalivuforia:1.0.0-SNAPSHOT
Cant able to rectify this error
@MasDennis It's not working for me in my latest android studio
kindly help
same problem here...
ERROR: Failed to resolve: org.rajawali3d.vuforia:rajawalivuforia:1.0.0-SNAPSHOT Show in Project Structure dialog Affected Modules: app
Seems Library is dead for vuforia
Admin is not interested in rajawali maintainance
New bird to android studio. When I sync and import example project to android studio, build action leads to an error like: failed to resolve : 'org.rajawali3d.vuforia:rajawalivuforia:1.0.0-SNAPSHOT'
I understand that RajawaliVuforiaExamples -> RajawaliVuforia --> Rajawali
is gradle goes online to find the dependencies? could I add the jars and dependencies like before( things like in eclipse days)
Thanks!