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

Android Apps Kinetic

asked 2018-06-19 05:30:03 -0500

XXXtinct gravatar image

updated 2018-06-21 05:50:52 -0500

gvdhoorn gravatar image

Hello everyone!

I'm new to ROS and have some minor experience with Android,and I'm trying to recreate a simple teleop app for a school project.Namely start with the pubsub tutorial,and expand from there.Part of the project is also to make a step by step manual for future students to use.Problem is I haven't even managed to make android studio work yet,have tried pretty much every tutorial on the ros wiki and scoured the answers but to no avail,it's a continuous loop of tutorials linking each other,404s and solutions that have stopped working.

So could anyone help me setup Android Studio ready for ROS app development?I feel that if I get to that point I can manage the rest,but I've reached my wit's end with it.

Thanks in advance!

Edit: I've tried this but the compile command is deprecated and changing it to implement also gives me some gradle errors,have tried the rosjava/android wiki and this which is from another thread/user.


Edit2: @jubeira Hi!Sorry for the delay,edited the post.I found an app of yours from another thread previously,which builds/works fine.When I try to manually replicate it though I'm getting a whole slew of errors.I'll do a clean install of ubuntu tonight and give it another shot and edit the post again with a more concise report on where I'm getting errors.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-06-19 15:13:17 -0500

jubeira gravatar image

@XXXtinct can you edit the question and provide some links to the tutorials you were using? This is the entry point for Android development: http://wiki.ros.org/android . If you don't want to install ROS, you should be able to start a project from scratch using Android Studio following this link. You will need to download Android Studio first.

If you want to build your app on top of an existing one, opening the Gradle project with Android Studio should be enough. Clone https://github.com/rosjava/android_apps to your PC and import the Gradle project. Then, you should be able to build your app with the Gradle wrapper (execute ./gradlew build in the project's root dir) or with Android studio.

Does that help?

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2018-06-19 05:30:03 -0500

Seen: 363 times

Last updated: Jun 21 '18