Hi, I am trying to follow Ros tutorial (Creating Android Packages), but getting this error, looking for help pls

asked 2018-12-11 13:31:50 -0600

Rony_s gravatar image

catkin_create_android_pkg android_foo android_core rosjava_core std_msgs Created repo file: /home/youbot/android_foo/settings.gradle Created repo file: /home/youbot/android_foo/build.gradle Created repo file: /home/youbot/android_foo/CMakeLists.txt Created repo file: /home/youbot/android_foo/package.xml Creating gradle wrapper: /opt/ros/kinetic/lib/python2.7/dist-packages/rosjava_build_tools/gradle/gradlew -p /home/youbot/android_foo wrapper

FAILURE: Build failed with an exception.

  • What went wrong: A problem occurred configuring root project 'android_foo'.

    Could not resolve all dependencies for configuration ':classpath'. Could not find com.android.tools:common:25.3.3. Searched in the following locations: file:/opt/ros/kinetic/share/maven/com/android/tools/common/25.3.3/common-25.3.3.pom file:/opt/ros/kinetic/share/maven/com/android/tools/common/25.3.3/common-25.3.3.jar http://repository.springsource.com/ma... http://repository.springsource.com/ma... http://repository.springsource.com/ma... http://repository.springsource.com/ma... https://github.com/rosjava/rosjava_mv... https://github.com/rosjava/rosjava_mv... https://jcenter.bintray.com/com/andro... https://jcenter.bintray.com/com/andro... Required by: :android_foo:unspecified > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 :android_foo:unspecified > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 > com.android.tools.build:manifest-merger:25.3.3 :android_foo:unspecified > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 > com.android.tools.ddms:ddmlib:25.3.3 :android_foo:unspecified > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 > com.android.tools.analytics-library:shared:25.3.3 :android_foo:unspecified > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 > com.android.tools.analytics-library:tracker:25.3.3 :android_foo:unspecified > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 > com.android.tools:sdklib:25.3.3 > com.android.tools.layoutlib:layoutlib-api:25.3.3 :android_foo:unspecified > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 > com.android.tools:sdklib:25.3.3 > com.android.tools:dvlib:25.3.3 :android_foo:unspecified > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 > com.android.tools:sdklib:25.3.3 > com.android.tools:repository:25.3.3

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 13.275 secs [error] __init__() takes at least 3 arguments (2 given) : <type 'exceptions.typeerror'="">

edit retag flag offensive close merge delete

Comments

please link your tutorial so that we can see more...

secs [error] __init__() takes at least 3 arguments (2 given) : seems like a promising start, though.

allenh1 gravatar image allenh1  ( 2018-12-12 12:18:28 -0600 )edit