Ask Your Question
0

${build.target}

asked 2012-02-25 17:43:28 -0500

vahid gravatar image

Hi, I wanted to know what it means by build.target does not exist in android_gingenbread ? thanks, Vahid.

edit retag flag offensive close merge delete

Comments

Have you got line <rosjava-android-lib target="android-10" /> in file manifest.xml? Have you got line target=android-10 in file project.properties?

Alexandr Buyval gravatar image Alexandr Buyval  ( 2012-02-25 18:55:53 -0500 )edit

thanks actually it was not set to 10 but was set to 9 i tried to find them but could not. thanks agina. but now i am getting another error in regard to android-9 which is :/home/vahid/ROS_DIR/rosjava_core/rosjava_bootstrap/android.xml:427: Unable to resolve target 'android-9' but I do not know where

vahid gravatar image vahid  ( 2012-02-25 19:28:49 -0500 )edit

where to look for it. I tried to move the android-9 out of the sdks so I could find all the places that are set to android-9 level api ... can you please help to find this one too, and tell me where to look, thanks.

vahid gravatar image vahid  ( 2012-02-25 19:30:17 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted
0

answered 2012-02-25 19:38:21 -0500

Alexandr Buyval gravatar image

updated 2012-02-25 19:44:20 -0500

Try to find all files in directory "rosjava_android" with word "target" and replace "android-9" on "android-10"

Or set target in properties project in Eclipse image description

edit flag offensive delete link more

Comments

i posted something down below

vahid gravatar image vahid  ( 2012-02-25 20:03:16 -0500 )edit

i tried to run it with eclipse and after i imported the android_app_chooser project i right clicked on it and hit run as android application now through eclipse i am getting Android AVD Error, NO compatible targets were found. do you wish to a add new android virtual device?

vahid gravatar image vahid  ( 2012-02-25 20:09:47 -0500 )edit
1

answered 2012-03-05 07:07:57 -0500

damonkohler gravatar image

android-9 no longer exists. You need to change the target in your manifest to android-10.

edit flag offensive delete link more
0

answered 2012-02-25 19:56:52 -0500

vahid gravatar image

That is exactly what i did and after running rosmake it shows that it is pointing to the right sdk but i still get it again and this is the whole thing:

[javac] /home/vahid/ROS_DIR/rosjava_core/rosjava_bootstrap/android.xml:607: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [echo] Creating library output jar file... Trying to override old definition of task dex-helper

nodeps:

-setup: [echo] Gathering info for AppManAndroid... [setup] Android SDK Tools Revision 16 [setup] Project Target: Android 2.3.3 [setup] API level: 10 [setup] Project Type: Android Library [setup] [setup] ------------------ [setup] Resolving library dependencies: [setup] /home/vahid/ROS_DIR/appmanandroid/library: ../../rosjava_android/android_gingerbread/. => /home/vahid/ROS_DIR/rosjava_android/android_gingerbread [setup] ------------------ [setup] Ordered libraries: [setup] /home/vahid/ROS_DIR/rosjava_android/android_gingerbread [setup] ------------------ [setup]

-build-setup: [echo] Building Libraries

BUILD FAILED /home/vahid/ROS_DIR/appmanandroid/build_app.xml:116: The following error occurred while executing this line: /home/vahid/android-sdk-linux_x86/tools/ant/build.xml:485: The following error occurred while executing this line: /home/vahid/ROS_DIR/rosjava_core/rosjava_bootstrap/android.xml:472: The following error occurred while executing this line: Target "${build.target}" does not exist in the project "android_gingerbread".

Total time: 1 second Executing command: ['ant']

please if possible tell me where do you think i got to look to change things around. thanks alot

edit flag offensive delete link more

Comments

I don't know exactly the cause of the error. Try to compile the project in Eclipse.

Alexandr Buyval gravatar image Alexandr Buyval  ( 2012-02-25 20:09:44 -0500 )edit

i ran it in eclipse and i get this error : that it can not do import ros.android.activity.AppManager; because it can not resolve ros?

vahid gravatar image vahid  ( 2012-02-25 20:52:22 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2012-02-25 17:43:28 -0500

Seen: 298 times

Last updated: Mar 05 '12