catkin_make android_core SDK directory
Next troubles for me
ht tp://wiki.ros.org/android/Tutorials/hydro/Installation%20-%20Ros%20Development%20Environment
catkin_make @ android directory
i get the error
* What went wrong:
A problem occurred configuring project ':android_acm_serial'.
> The SDK directory '/opt/android-studio/sdk:/home/user/opt/android-studio/sdk' does not exist.
* 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: 3.248 secs
make[2]: *** [android_core/CMakeFiles/gradle-android_core] Fehler 1
make[1]: *** [android_core/CMakeFiles/gradle-android_core.dir/all] Fehler 2
make: *** [all] Fehler 2
install directory for android studio: /home/user/opt/android-studio
$ echo $PATH
/opt/ros/hydro/bin
:/home/user/catkin_ws_android_core/devel/bin
:/opt/eclipse:/usr/lib/lightdm/lightdm:/usr/local/sbin
:/usr/local/bin
:/usr/sbin
:/usr/bin
:/sbin:/bin:/usr/games
:/home/user/catkin_ws/tool_scripts
:/opt/android-studio/sdk/tools
:/opt/android-studio/sdk/platform-tools
:/opt/android-studio/bin
:/home/user/home/user/opt/android-studio/sdk/tools
:/home/user/home/user/opt/android-studio/sdk/platform-tools
:/home/user/home/user/opt/android-studio/bin
:/home/user/opt/android-studio/sdk/tools
:/home/user/opt/android-studio/sdk/platform-tools
:/home/user/opt/android-studio/bin
$ echo $ANDROID_HOME
/opt/android-studio/sdk
:/home/user/opt/android-studio/sdk
Edit: Thanks to support from gvdhoorn i got a little step further
- installed android tools (adb) from ht tp://bernaerts.dyndns.org/linux/74-ubuntu/245-ubuntu-precise-install-android-sdk
- i ve hardcoded the variables
ANDROID_HOME
andPATH
in.bashrc
and opend an other terminal (that solved my problem)
java 7 is already installed
catkin_make
starts running with a lot of warnings
warning: Ignoring InnerClasses attribute for an anonymous inner class (junit.swingui.TestSelector$4) that doesn't come with an associated EnclosingMethod attribute. This class was probably produced by a compiler that did not target the modern .class file format. The recommended solution is to recompile the class from source, using an up-to-date compiler and without specifying any "-target" type options. The consequence of ignoring this warning is that reflective operations on this class will incorrectly indicate that it is *not* an inner class.
and finally fails -> next error:
:android_acm_serial:uploadArchives
Uploading: org/ros/android_core/android_acm_serial/0.1.3/android_acm_serial-0.1.3.aar to repository remote at file:///opt/ros/hydro/share/maven
Specified destination directory cannot be created: /opt/ros/hydro/share/maven/org/ros/android_core/android_acm_serial/0.1.3
:android_acm_serial:uploadArchives FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':android_acm_serial:uploadArchives'.
> Could not publish configuration 'archives'
> Error deploying artifact 'org.ros.android_core:android_acm_serial:aar': Error deploying artifact: Specified destination directory cannot be created: /opt/ros/hydro/share/maven/org/ros/android_core/android_acm_serial/0.1.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: 6 mins 56.909 secs
make[2]: *** [android_core/CMakeFiles/gradle-android_core] Fehler 1
make[1]: *** [android_core/CMakeFiles/gradle-android_core.dir/all] Fehler 2
make: *** [all] Fehler 2
Invoking "make" failed
Edit2 :
i deleted Build and Devel
catkin_make
again ...
So: what is your question? What did you try yourself, what didn't work and why?
I've updated your formatting a bit: use 4 spaces before lines that you want quoted as-is. '<code>' doesn't work too well.