How to build SDK and htc-dream product version both.

11 views
Skip to first unread message

James Wang

unread,
Dec 3, 2009, 4:10:34 AM12/3/09
to android-platform
We are adding our resources into framework-res.apk by
PRODUCT_PACKAGE_OVERLAYS.
We don't have any problem with it but we want our developers can use
new resources in their apps by building android.jar.
We can not use the one created under out/target/common/obj/PACKAGING/
android_jar_intermediates because we got errors below when building
project with it:
[2009-12-02 11:42:39 - ResourceTest]W/ResourceType(13185): Unable to
get buffer of resource asset file
[2009-12-02 11:42:39 - ResourceTest]/home/curl/workspace/ResourceTest/
res/layout/main.xml:2: ERROR No resource identifier found for
attribute 'orientation' in package 'android'
[2009-12-02 11:42:39 - ResourceTest]/home/curl/workspace/ResourceTest/
res/layout/main.xml:2: ERROR No resource identifier found for
attribute 'layout_width' in package 'android'
[2009-12-02 11:42:39 - ResourceTest]/home/curl/workspace/ResourceTest/
res/layout/main.xml:2: ERROR No resource identifier found for
attribute 'layout_height' in package 'android'

Somebody who had the same question suggest to build SDK by "make
PRODUCT-sdk-sdk".
But we have to rebuild it by "make" to get a htc-dream product
version.

My question is how to build htc-dream and SDK version cocurrently, or
build these two version without any installclean.

Best regards.

James
Reply all
Reply to author
Forward
0 new messages