Font in Android Library

后端 未结 9 1710
南方客
南方客 2021-02-05 15:30

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

9条回答
  •  自闭症患者
    2021-02-05 15:53

    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));
    

提交回复
热议问题