copy your files to the <android src>/device/xxxx/xxxxx/

modify your devicename.mk to add the following rule

PRODUCT_COPY_FILES += \
              <Src file path>:<Destination path> /data/<xxxx.xml> \
              <Src file path>:<Destination path> /data/<libpath> \


Thanks
Venumadhav


On Wed, Jul 10, 2013 at 6:01 PM, Jānis Čoders <janis.cod...@gmail.com>wrote:

> Hi, I am trying to copy prebuilt library and simple .xml files to android
> while compiling all system.
>
> There is no problem when compiling/copying prebuilt library, because it
> goes into standard folder. But what I really want is to copy a file into
> /data/ directory and it should stay there. Now I've tried many approaches:
>
> LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)/data/xxxx/
> LOCAL_MODULE_PATH := $(TARGET_OUT)/data/xxxx/
> LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/data/xxxx/
>
>
> None of these situations my module goes into /data/ directory. I can see
> that it has been copied on by development machine in the
> out/...../grouper/data/  directory, but when installing image completely
> from scratch, there are no files
> in /data/ directory.
> I need to use /data/ folder, because there is need for a writable
> partition, which isnt sdcard.
>
> Thank you
>
> --
> --
> unsubscribe: android-porting+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>
> ---
> You received this message because you are subscribed to the Google Groups
> "android-porting" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-porting+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Thanks
Venumadhav

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to