Problem installing android_core on Ubuntu 14.04, ROS indigo
Hi, I am trying to install android_core ... but im getting an error .... here is some background info
I had already installed Android Studio on Ubuntu 14.04 ... the full studio and not the stand alone SDK .... and it is working fine, but only from the IDE, and not in combination with ROS (I was still learning Android) .. everything works just fine now .. updates, using app in the phone, using app in the emulator, deployment, everything.
I also had already installed ROS indigo ... and also everything works just fine .. i also have my Turtlebot, and all its apps and related packages works just fine as well .. through launches or romocon
NOW .. i want to combine them both .. that is develop Android apps for ROS .. so i following the installation instructions on this link ... here is wht i did:
1. Prerequisites:
Since i already have Android Studio & Java JDK .. it was just a matter of setting the env to the installation locations ... here is what i put in the .bashrc
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/jre
export PATH=${PATH}:~/Android/Sdk/tools:~/Android/Sdk/platform-tools:~/android-studio/bin
export ANDROID_HOME=~/android-studio
"Yes ... these locations are weird .. but this is where i had already installed my Android Studio ... will this cause a problem?"
2. Source Installation of Java
I followed the instructions on this link "3.1 - Core installation" .. and it worked just fine
3. Source Installation of android_core:
I followed the instructions on this link "4.1 - Core Installation" ... and here is where the problems started ... all went well till the last command ... here is what happened:
samihajjaj@sami:~/android_core$ catkin_make
Base path: /home/samihajjaj/android_core
Source space: /home/samihajjaj/android_core/src
Build space: /home/samihajjaj/android_core/build
Devel space: /home/samihajjaj/android_core/devel
Install space: /home/samihajjaj/android_core/install
####
#### Running command: "make cmake_check_build_system" in "/home/samihajjaj/android_core/build"
####
####
#### Running command: "make -j4 -l4" in "/home/samihajjaj/android_core/build"
####
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':android_15'.
> Could not resolve all dependencies for configuration ':android_15:_debugCompile'.
> Could not find com.android.support:support-v4:21.0.3.
Searched in the following locations:
file:/home/samihajjaj/android_core/devel/share/maven/com/android/support/support-v4/21.0.3/support-v4-21.0.3.pom
file:/home/samihajjaj/android_core/devel/share/maven/com/android/support/support-v4/21.0.3/support-v4-21.0.3.jar
file:/home/samihajjaj/rosjava/devel/share/maven/com/android/support/support-v4/21.0.3/support-v4-21.0.3.pom
file:/home/samihajjaj/rosjava/devel/share/maven/com/android/support/support-v4/21.0.3/support-v4-21.0.3.jar
file:/opt/ros/indigo/share/maven/com/android/support/support-v4/21.0.3/support-v4-21.0.3.pom
file:/opt/ros/indigo/share/maven/com/android/support/support-v4/21.0.3/support-v4-21.0.3.jar
https://github.com/rosjava/rosjava_mvn_repo/raw/master/com/android/support/support-v4/21.0.3/support-v4-21.0.3.pom
https://github.com/rosjava/rosjava_mvn_repo/raw/master/com/android/support/support-v4/21.0.3/support-v4-21.0.3.jar
file:/home ...