ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

ROS tango samples don't run

asked 2014-12-10 22:09:55 -0500

dan gravatar image

updated 2014-12-10 23:39:21 -0500

I set up the Tango tablet according to the wiki

and, after a bit of fiddling, got it to compile, load and build in android studio. However, when I try to run any of the examples, android studio detects the Tango, starts to run and then fails "Error Type 3" class {} does not exist.

But there is a MainActivity in most of the examples.

I suspect I am missing something obvious, but need some help figuring out what it is.

The wiki says that there is some documentation at:

~/rjandroid/src/android_core/docs/build/html/index.html ~/rjandroid/src/android_core/docs/build/html/javadoc/index.html

but the docs directory in that location does not have a build directory. All of the other directories in android_core do have a build directory and went through a successful build.

Some progress: By going to "run," "edit configurations" and selecting "Deploy default APK" instead of what was there, "Do not deploy anything" I was able to get a little farther. Unfortunately, now I get an UnsupportedMethodException in both android_tutorial_camera and android_tutorial_map_viewer.

Specifically: Unsupported method: AndroidArtifact.getOutputFile(). The version of Gradle you connect to does not support that method.

As per the instructions on the wiki, I am using android-studio version 0.6.1. The gradle build messages show that "Tooling API is using target Gradle version 1.11" I don't know how to check for the Android Gradle Plugin version (it should be 0.11 to work with studio version 0.6.1), but Gradle verision 1.11 is in the right range for Android Gradel plugin version 0.11

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-12-13 23:28:12 -0500

dan gravatar image

In the build.gradle files, located in the following directories,


I added this to the dependencies section:

classpath ''

and that by itself fails, but when you also add


to the repositories section, the programs load onto the Tango and run.

I have no idea whether this will actually work, but if it does, then these seem like very odd things for the repo to have left out of the build.grable file.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-12-10 22:09:55 -0500

Seen: 804 times

Last updated: Dec 13 '14