Ask Your Question
1

Could not find group:ros.rosjava_zeroconf

asked 2013-03-25 00:19:17 -0600

130s gravatar image

Trying out the new apps in android_core tutorial fails with following message. Does anyone have a clue?

$ ./gradlew debug --stacktrace
:android_app_chooser:deployLibs

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':android_app_chooser:compile'.
> Could not find group:ros.rosjava_zeroconf, module:rosjava_zeroconf, version:0.0.0-SNAPSHOT.
  Required by:
      ros.osrf_rosandroid:android_app_chooser:0.0.0-SNAPSHOT

* Try:
Run with --info or --debug option to get more log output.

* Exception is:
org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ':android_app_chooser:compile'.
    at org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration.rethrowFailure(DefaultLenientConfiguration.java:51)
    at org.gradle.api.internal.artifacts.ivyservice.DefaultResolvedConfiguration.rethrowFailure(DefaultResolvedConfiguration.java:36)
        :
    at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration_Decorated.getResolvedConfiguration(Unknown Source)
    at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationFileCollection.getFiles(DefaultConfiguration.java:456)
    ... 71 more
BUILD FAILED
Total time: 2.643 secs

"The old way" runs just fine:

$ roscd osrf_rosandroid
$ make conf
$ make

Ubuntu 12.10, hg SHA cc26f896f2f93a39d73a5eec4e8d8c4139e7fbc0 Thank you.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2013-03-27 13:05:38 -0600

KazutoMurase gravatar image

This is because rosjava_zeroconf is not compiled. Input the following commands.

$ roscd rosjava_zeroconf

$ ./gradlew install

Then try it again.

edit flag offensive delete link more
0

answered 2013-04-06 22:02:17 -0600

130s gravatar image

updated 2013-04-06 22:03:38 -0600

Only the answer by @KazutoMurase didn't work as it uses repository that hasn't included his patch yet. Thus a temporary solution turned out to be using android_core from his repo here, which should be replaced by its official repo after this pull request gets merged.

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

Stats

Asked: 2013-03-25 00:19:17 -0600

Seen: 684 times

Last updated: Apr 06 '13