Yes it can be overlayed, we use that for doing different builds for different devices, such as setting up default configurations for hard vs. soft keyboard devices. The aapt shouldn't outright crash, so somebody will need to debug that -- if you want, just change the build system to run it with "gdb" and you can get a stack crawl to see what happened. (Look for $(APPT) in build/core/definitions.mk for the place where it is invoked.)
On Wed, Feb 25, 2009 at 10:51 PM, cht <[email protected]> wrote: > > and another problem > > i put some res files in the framework res overlay dir > vendor/mycompany/base/frameworks/base/core/res/res/ > > when i make the framework-res module on the command line , it faild > "make: [out/target/common/obj/apps/framework-res_intermediates/pachage- > export.apk] segmentation fault" > > the framework res can not be overlayed??? > > > ------------------------------------------------------------------------------------ > hi Nik > just like Dianne Hackborn reply to my first post > i make a dir for my overlay res under the android source root dir > the path looks like: > android_root/vendor/mycompany/base > android_root/vendor/mycompany/product > > and just for test we define PRODUCT_PACKAGE_OVERLAYS := vendor/ > mycompany/base vendor/mycompany/product > in the build/target/product/generic.mk > > if you test Launcher app > put the Launcher app under > vendor/mycompany/base/packages/apps/ > on the command line >make Launcher > > > if you test framework res > put the overlay res under rvendor/mycompany/base/frameworks/base/core/ > res/res/ path > >make framework-res > but it faild > > ------------------------------------------------------------------- > hi Dianne Hackborn > the direction attribute is defined is not defined by framework > it is defined by the original Laucnher app which under pachages/apps/ > Laucher > and i copy the Launcher app to my overlay path > you said it will replace the original files, it is that? > i find that, image files will be replaced, but attrs.xml file will be > merged not replace, is it? > > > > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" 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-framework?hl=en -~----------~----~----~----~------~----~------~--~---
