I have problem with resolving dependencies. Have you guys had similar issue? Any ideas? thanks in advance
FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring root project 'test'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not find org.robovm:robovm-gradle-plugin:1.0.0-SNAPSHOT.
Searched in the following locations:
_https://repo1.maven.org/maven2/org/robovm/robovm-gradle-plugin/1.0.0-SNAPSHOT/maven-metadata.xml
_https://repo1.maven.org/maven2/org/robovm/robovm-gradle-plugin/1.0.0-SNAPSHOT/robovm-gradle-plugin-1.0.0-SNAPSHOT.pom
_https://repo1.maven.org/maven2/org/robovm/robovm-gradle-plugin/1.0.0-SNAPSHOT/robovm-gradle-plugin-1.0.0-SNAPSHOT.jar
_https://jcenter.bintray.com/org/robovm/robovm-gradle-plugin/1.0.0-SNAPSHOT/maven-metadata.xml
_https://jcenter.bintray.com/org/robovm/robovm-gradle-plugin/1.0.0-SNAPSHOT/robovm-gradle-plugin-1.0.0-SNAPSHOT.pom
_https://jcenter.bintray.com/org/robovm/robovm-gradle-plugin/1.0.0-SNAPSHOT/robovm-gradle-plugin-1.0.0-SNAPSHOT.jar
Required by: :test:unspecified
(I've added underscore in links to get it posted in here.)
it works when I uncheck iOS subproject... Have no idea how to fix it
I had the same problem when using a libGDX project with libGDX version 1.5.4.
In your build.gradle file look for something like:
classpath 'org.robovm:robovm-gradle-plugin:1.0.0-SNAPSHOT' and change it to: classpath 'org.robovm:robovm-gradle-plugin:1.0.0-beta-04'
Do the same for: roboVMVersion = '1.0.0-SNAPSHOT' and change it to: roboVMVersion = '1.0.0-beta-04'
This should work otherwise try changing both to: 1.0.0-beta-01.
After this it should ask you to sync your project, click sync now!
Hope this helps! Here are some helpful links:
https://github.com/robovm/robovm-gradle-plugin#robovm-gradle-plugin http://libgdx.badlogicgames.com/news.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With