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

cannot find symbol import org.ros.node.NativeNodeMain

asked 2017-01-10 03:33:07 -0600

zzkzsmj gravatar image

I encountered the following problems when using ROS NDK cross compiler

error: cannot find symbol
import org.ros.node.NativeNodeMain;
  symbol:   class NativeNodeMain
  location: package org.ros.node

Added dependency in gradle

dependencies {
  compile 'org.ros.android_core:android_10:[0.2,0.3)'
  compile 'org.ros.android_core:android_15:[0.2,0.3)'
  compile fileTree(dir: "$buildDir/native-libs", include: '*.jar')
edit retag flag offensive close merge delete


It was probably a mistake, but could you please not post the same question three times? Thanks.

gvdhoorn gravatar image gvdhoorn  ( 2017-01-10 04:09:38 -0600 )edit

I am new to ROS and have the same issue. Is there anyone who knows where to get the package?

szchenshixi gravatar image szchenshixi  ( 2018-02-27 05:54:54 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-08-29 06:16:44 -0600

manster2209 gravatar image

Sometimes to clean the project or reimport it in Android Studio helps

edit flag offensive delete link more

Question Tools



Asked: 2017-01-10 03:33:07 -0600

Seen: 110 times

Last updated: Aug 29 '18