<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">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>