<div dir="ltr">Hi A shi,<div><br></div><div>Typically this kind of question belongs on our FAQ website, <a href="http://answers.ros.org/questions/">http://answers.ros.org/questions/</a>, while this mailing list is meant for announcements and general, high level discussion.</div>

<div><br></div><div>If you would really like to post to a mailing list, then the ROSJava sig (covers ROS on Android) would be more appropriate:</div><div><br></div><div><a href="https://groups.google.com/forum/#!forum/ros-sig-java">https://groups.google.com/forum/#!forum/ros-sig-java</a><br>

</div><div><br></div><div>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:</div><div><br></div>

<div><a href="https://help.github.com/articles/using-pull-requests">https://help.github.com/articles/using-pull-requests</a><br></div><div><br></div><div>Thanks,</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">

On Wed, Jun 25, 2014 at 1:25 PM, Ayi <span dir="ltr"><<a href="mailto:ashy.on.line@gmail.com" target="_blank">ashy.on.line@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace">Hi, guys.<br></div><div class="gmail_default" style="font-family:courier new,monospace"><br>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.<br>



</div><div class="gmail_default" style="font-family:courier new,monospace"><br>While trying to create a new android pkg with this very basic command example:<font><br></font><pre><span style="font-family:courier new,monospace"><font><i>catkin_create_android_pkg android_foo android_apps android_extras rosjava_core</i><br>



<br></font></span></pre><pre><span style="font-family:courier new,monospace"><font>I found this error:<br><br><span style="color:rgb(255,0,0)">FAILURE: Build failed with an exception.<br><br>* What went wrong:<br>A problem occurred configuring root project 'android_foo'.<br>



> Could not resolve all dependencies for configuration ':classpath'.<br>   > Could not find org.codehaus.groovy:groovy-all:2.2.0.<br>     Required by:<br>         :android_foo:unspecified > org.ros.rosjava_bootstrap:gradle_plugins:0.2.0</span><br>



<br></font></span></pre><pre><span style="font-family:courier new,monospace"><font>After messing around I basically looked for groovy-all:2.2.0 in Maven Central and it was right there!<br></font></span></pre><pre><span style="font-family:courier new,monospace"><font>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 <i>mavenCentral()</i> and it worked.<br>



</font></span></pre><pre><span style="font-family:courier new,monospace"><font>I don't really know if this fix is ok or if it's too drastic. <br><br></font></span></pre><pre><span style="font-family:courier new,monospace"><font>My fork with the changes I've made: <a href="https://github.com/ashyonline/rosjava_build_tools/blob/master/src/rosjava_build_tools/templates/android_package/build.gradle.in" target="_blank">GitHub</a>.<br>



<br></font></span></pre><pre><span style="font-family:courier new,monospace"><font>Let me know if you think this is a good approach or I need to do something different.<br><br></font></span></pre><pre><span style="font-family:courier new,monospace"><font>Thanks for your time,<br>



</font></span></pre><br clear="all"></div><div><div dir="ltr"><font face="'courier new', monospace"><font color="#FF99FF"><b><div><br></div>A<div class="gmail_default" style="font-family:courier new,monospace;display:inline">



​shi​</div></b></font></font><div><font color="#ff99ff" face="courier new, monospace"><b><br></b></font><div><font face="'courier new', monospace"><font color="#FF99FF"><b>-----</b></font></font></div><div><font face="'courier new', monospace"><font color="#FF99FF"><b>If you're geek, check my blog out: </b></font></font><font color="#ff99ff" face="courier new, monospace"><b><a href="http://cydiaforandroid.blogspot.com" target="_blank">cydiaforandroid.blogspot.com</a></b></font></div>



<div><font color="#ff99ff" face="courier new, monospace"><b>If you like eating, check my blog out: <a href="http://ashy-on-line.blogspot.com" target="_blank">ashy-on-line.blogspot.com</a></b></font></div></div></div></div>




</div>
<br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@lists.ros.org">ros-users@lists.ros.org</a><br>
<a href="http://lists.ros.org/mailman/listinfo/ros-users" target="_blank">http://lists.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">William Woodall<div>ROS Development Team</div><div><a href="mailto:william@osrfoundation.org" target="_blank">william@osrfoundation.org</a></div>

<div><a href="http://wjwwood.io/" target="_blank">http://wjwwood.io/</a></div></div>
</div>