Hi A shi,

Typically this kind of question belongs on our FAQ website, http://answers.ros.org/questions/, while this mailing list is meant for announcements and general, high level discussion.

If you would really like to post to a mailing list, then the ROSJava sig (covers ROS on Android) would be more appropriate:

https://groups.google.com/forum/#!forum/ros-sig-java

If you have a patch which you would like to contribute (indicated by your fork), then you can open a pull request against the forked repository to get feedback on your changes:

https://help.github.com/articles/using-pull-requests

Thanks,


On Wed, Jun 25, 2014 at 1:25 PM, Ayi <ashy.on.line@gmail.com> wrote:
Hi, guys.

My name is Ashi and I'm pretty new at all this rosjava stuff. I'm currently trying to use rosjava master branch with Trusty and Android Studio 0.6.1.

While trying to create a new android pkg with this very basic command example:
catkin_create_android_pkg android_foo android_apps android_extras rosjava_core

I found this error:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'android_foo'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not find org.codehaus.groovy:groovy-all:2.2.0.
Required by:
:android_foo:unspecified > org.ros.rosjava_bootstrap:gradle_plugins:0.2.0


After messing around I basically looked for groovy-all:2.2.0 in Maven Central and it was right there!
In order to make the example above work, I changed the template located in <rosjava/src/rosjava_build_tools/src/rosjava_build_tools/templates/android_package> adding the line mavenCentral() and it worked.
I don't really know if this fix is ok or if it's too drastic. 

My fork with the changes I've made: GitHub.

Let me know if you think this is a good approach or I need to do something different.

Thanks for your time,


A
​shi​

-----
If you're geek, check my blog out: cydiaforandroid.blogspot.com
If you like eating, check my blog out: ashy-on-line.blogspot.com

_______________________________________________
ros-users mailing list
ros-users@lists.ros.org
http://lists.ros.org/mailman/listinfo/ros-users




--
William Woodall
ROS Development Team
william@osrfoundation.org
http://wjwwood.io/