Closed GoogleCodeExporter closed 9 years ago
How are these external dependencies supposed to get resolved?
Original comment by jonathan...@gmail.com
on 28 Mar 2012 at 7:12
Looks like "MavenLocal()" in the android_core build.gradle file isn't finding
all of the stuff I have in ~/.m2/repository
This path isn't references in any environment variables, should it be?
Original comment by jonathan...@gmail.com
on 28 Mar 2012 at 7:27
It looks like you need to install rosjava first.
roscd rosjava
../gradlew install
External dependencies are currently resolved to either a remove Maven repo or
your local .m2 cache. The install task will build and install the jar to your
.m2 cache and make it available to your android project.
Original comment by damonkoh...@google.com
on 28 Mar 2012 at 7:29
So it is definitely installed, listing ~/.m2/repository/ros gives:
/home/jbohren/.m2/repository/ros
|-- message.geometry_msgs
| |-- 0.0.0-SNAPSHOT
| `-- maven-metadata-local.xml
|-- message.roscpp
| |-- 0.0.0-SNAPSHOT
| `-- maven-metadata-local.xml
|-- message.rosgraph_msgs
| |-- 0.0.0-SNAPSHOT
| `-- maven-metadata-local.xml
|-- message.sensor_msgs
| |-- 0.0.0-SNAPSHOT
| `-- maven-metadata-local.xml
|-- message.std_msgs
| |-- 0.0.0-SNAPSHOT
| `-- maven-metadata-local.xml
|-- message.test_ros
| |-- 0.0.0-SNAPSHOT
| `-- maven-metadata-local.xml
|-- message.trajectory_msgs
| |-- 0.0.0-SNAPSHOT
| `-- maven-metadata-local.xml
|-- rosjava_core
| |-- rosjava
| `-- rosjava_bootstrap
|-- service.roscpp
| |-- 0.0.0-SNAPSHOT
| `-- maven-metadata-local.xml
|-- service.sensor_msgs
| |-- 0.0.0-SNAPSHOT
| `-- maven-metadata-local.xml
|-- service.test_ros
| |-- 0.0.0-SNAPSHOT
| `-- maven-metadata-local.xml
`-- service.topic_tools
|-- 0.0.0-SNAPSHOT
`-- maven-metadata-local.xml
Original comment by jonathan...@gmail.com
on 28 Mar 2012 at 8:14
I needed to separately run from rosjava_core:
./gradlew apache_xmlrpc_common:install
./gradlew apache_xmlrpc_server:install
./gradlew apache_xmlrpc_client:install
Original comment by jonathan...@gmail.com
on 28 Mar 2012 at 8:20
Full solution here:
http://answers.ros.org/question/30706/building-rosjavaandroid-stuff?answer=30713
#post-id-30713
Original comment by jonathan...@gmail.com
on 28 Mar 2012 at 8:44
This should no longer be a problem as message generation does not require a
separate step. Running ./gradlew in rosjava_core should be sufficient.
Original comment by damonkoh...@google.com
on 4 Apr 2012 at 7:42
Original issue reported on code.google.com by
jonathan...@gmail.com
on 28 Mar 2012 at 7:03