Hi I try to build Email in eclipse as an individual application. However, Email depends on some resouce in the framework: - framework/opt/mailcommon/res - frameworks/ex/chips/res
I've try to copy these two folders to Email's folder, and modify the Android.mk to add these res folders to LOCAL_RESOURCE_DIR: ================================ # chips_dir := ../../../frameworks/ex/chips/res # mail_common_dir := ../../../frameworks/opt/mailcommon/res chips_dir := res_chips mail_common_dir := res_mailcommon res_dir := $(chips_dir) $(mail_common_dir) res_chips res_mailcommon res ... LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dir)) ================================ By doing so, the resources in the two added folders still cannot be discovered in Eclipse. However, the project can be built successfully by entering the source code folder in the terminate: ...../Email $ mmm . So, it seems the change on Android.mk does not impact the building in Eclipse. How can I make it run through the building? Thanks. -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
