Android: v2.1

I'm attempting to build the vendor/sample project from Eclair on
Ubuntu 9.10 and I simply do the following:

>From the android project root:
$> source build/env.sh
$> choosecombo Device debug generic eng
$> cd vendor/sample
$> mm

And I get the following error:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.1-update1
TARGET_PRODUCT=generic
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=debug
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=ECLAIR
============================================
*** Build configuration changed: "mitel-eng-
{ldpi,hdpi,mdpi,en_US,en_GB,en_CA,en_AU,en_NZ,en_SG,ja_JP,fr_FR,fr_BE,fr_CA,fr_CH,it_IT,it_CH,es_ES,de_DE,de_AT,de_CH,de_LI,nl_NL,nl_BE,cs_CZ,pl_PL,zh_CN,zh_TW,ru_RU,ko_KR,nodpi}"
-> "generic-eng-{mdpi,nodpi}"
*** Forcing "make installclean"...
*** Done with the cleaning, now starting the real build.
make: Entering directory `/home/user/source/android/v2.1'
Target buildinfo: out/debug/target/product/generic/root/default.prop
Copying: out/debug/target/common/obj/JAVA_LIBRARIES/
com.example.android.platform_library_intermediates/classes-full-
debug.jar
target Java: PlatformLibraryClient (out/debug/target/common/obj/APPS/
PlatformLibraryClient_intermediates/classes)
Copying: out/debug/target/common/obj/APPS/
PlatformLibraryClient_intermediates/classes-full-debug.jar
Copying: out/debug/target/common/obj/APPS/
PlatformLibraryClient_intermediates/classes.jar
target Dex: PlatformLibraryClient
target Package: PlatformLibraryClient (out/debug/target/product/
generic/obj/APPS/PlatformLibraryClient_intermediates/package.apk)
 'out/debug/target/common/obj/APPS/PlatformLibraryClient_intermediates/
classes.dex' as 'classes.dex'...
Install: out/debug/target/product/generic/system/app/
PlatformLibraryClient.apk
target Java: UpgradeExample (out/debug/target/common/obj/APPS/
UpgradeExample_intermediates/classes)
Copying: out/debug/target/common/obj/APPS/UpgradeExample_intermediates/
classes-full-debug.jar
Copying: out/debug/target/common/obj/APPS/UpgradeExample_intermediates/
classes.jar
target Dex: UpgradeExample
target Package: UpgradeExample (out/debug/target/product/generic/obj/
APPS/UpgradeExample_intermediates/package.apk)
 'out/debug/target/common/obj/APPS/UpgradeExample_intermediates/
classes.dex' as 'classes.dex'...
Install: out/debug/target/product/generic/system/app/
UpgradeExample.apk
Target buildinfo: out/debug/target/product/generic/system/build.prop
Copy: out/debug/target/product/generic/system/etc/apns-conf.xml
Install: out/debug/target/product/generic/system/framework/
com.example.android.platform_library.jar
make: *** No rule to make target `out/debug/target/product/generic/obj/
lib/libandroid_runtime.so', needed by `out/debug/target/product/
generic/obj/SHARED_LIBRARIES/libplatform_library_jni_intermediates/
LINKED/libplatform_library_jni.so'.  Stop.
make: Leaving directory `/home/user/source/android/v2.1'

NOTE: I can build all other projects successfully (os, sdk, etc),
including the one above if I do it from the project root with this
command:

make -j2 PRODUCT-sample_addon-sdk_addon

Any ideas why the first method cannot find the rule for the
"libandroid_runtime" target? Am I suppose to be able to build the
project this way?

Thanks,
Michael

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to