Ask Your Question
0

cannot find symbol import org.ros.node.NativeNodeMain

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

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

Comments

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 -0500 )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 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

manster2209 gravatar image

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 73 times

Last updated: Aug 29 '18