ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You need to specify the value of the sdk.dir property for the Java build. One way of doing it is via a -D flag for ant:
ant -Dsdk.dir=<path to sdk> dist
e.g.
ant -Dsdk.dir=/opt/android-sdk-mac_x86 dist
2 | No.2 Revision |
You need to specify the value of the sdk.dir property for the Java build. One way of doing it is via a -D flag for ant:
ant -Dsdk.dir=<path to sdk> dist
e.g.
ant -Dsdk.dir=/opt/android-sdk-mac_x86 dist
Also if you see an error like this:
/Users/nah/ros-diamondback/rosjava/android/library/build.xml:77: Unable to resolve target 'android-9'
You'll need to set the target property as appropriate. E.g. I had the 2.3.3 SDK installed, so I needed to compile with:
ant -Dsdk.dir=/opt/android-sdk-mac_x86 -Dtarget=android-10 dist
3 | adding sdk setup from kwc |
You need to download and configure your Android ADK first.
You need to specify the value of the sdk.dir property for the Java build. One way of doing it is via a -D flag for ant:
ant -Dsdk.dir=<path to sdk> dist
e.g.
ant -Dsdk.dir=/opt/android-sdk-mac_x86 dist
Also if you see an error like this:
/Users/nah/ros-diamondback/rosjava/android/library/build.xml:77: Unable to resolve target 'android-9'
You'll need to set the target property as appropriate. E.g. I had the 2.3.3 SDK installed, so I needed to compile with:
ant -Dsdk.dir=/opt/android-sdk-mac_x86 -Dtarget=android-10 dist