At the follow link
Android Dev Guide
is write:
Library projects cannot include raw assets The tools do not support the use of raw asset files (saved in t
Just use the response of @bk138 with this little change it works to me
add this in the manifest
and add this before creating the Buffered
File f2 = new File(outPath); BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(outPath));