ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

well .. I found a solution to the problem above .. it may not be pretty or ideal ... but it kinda worked .. i noticed that catkin was looking in the wrong places for the support files ... so i copied these files from where Android Studio placed them and put pasted them where catkin was looking ... in this case under the /.m2 ... and it worked !

However a new problem arose ... here it is ...

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':android_10:preBuild'.
> failed to find target android-10 : /home/samihajjaj/android-studio

Am I missing something ??

well .. I found a the solution to the problem above .. it may apparently ... and for some reason that i do not be pretty or ideal ... but it kinda worked know yet .. i noticed that catkin was looking in at the wrong places for to where the support files were ... so i copied these to solve the problem above .. ull need to define a new env. variable in ur bash file .. that variable will tell catkin where the support files from where Android Studio placed them and put pasted them where catkin was looking ... in this case under the /.m2 ... and it worked ! are on ur system .. here is how:

However a new problem arose in ur .bashrc file ... here it is ... add either one the following lines below ..

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':android_10:preBuild'.
> failed 

export ROS_MAVEN_REPOSITORY=(location to find target android-10 : /home/samihajjaj/android-studio

where the support files are on ur system) export ROS_MAVEN_PATH=(location to where the support files are on ur system)

Am I missing something ?? either line will do the trick as catkin will look for the first variable, then the second ... and it doesnt really hurt to put them both

well .. I found the solution to the problem above .. apparently ... and for some reason that i do not know yet .. catkin was looking at the wrong places to where the support files were ... so to solve the problem above .. ull need to define a new env. variable in ur bash file .. that variable will tell catkin where the support files are on ur system .. here is how:

in ur .bashrc file ... add either one the following lines below ..

export ROS_MAVEN_REPOSITORY=(location to where the support files are on ur system) export ROS_MAVEN_PATH=(location to where the support files are on ur system)

either line will do the trick as catkin will look for the first variable, then the second ... and it doesnt really hurt to put them both

NOTE: I cant chose my own answer as correct because i dont have enough points

well .. I found the solution to the problem above .. apparently ... and for some reason that i do not know yet .. catkin was looking at the wrong places to where the support files were ... so to solve the problem above .. ull need to define a new env. variable in ur bash file .. that variable will tell catkin where the support files are on ur system .. here is how:

in ur .bashrc file ... add either one the following lines below ..

export ROS_MAVEN_REPOSITORY=(location to where the support files are on ur system)
 export ROS_MAVEN_PATH=(location to where the support files are on ur system)

system)

either line will do the trick as catkin will look for the first variable, then the second ... and it doesnt really hurt to put them both

NOTE: I cant chose my own answer as correct because i dont have enough points

well .. I found the solution to the problem above .. apparently ... and for some reason that i do not know yet .. catkin was looking at the wrong places to where the support files were ... so to solve the problem above .. ull need to define a new env. variable in ur bash file .. that variable will tell catkin where the support files are on ur system .. here is how:

in ur .bashrc file ... add either one the following lines below ..

export ROS_MAVEN_REPOSITORY=(location to where the support files are on ur system)

export ROS_MAVEN_PATH=(location to where the support files are on ur system)

either line will do the trick as catkin will first look for the first ROS_MAVEN_REPOSITORY variable, then the second ROS_MAVEN_PATH ... and it doesnt really hurt to put them both

NOTE: I cant chose my own answer as correct because i dont have enough points