java.lang.RuntimeException: native typeface cannot be made

Library projects cannot include raw assets

The tools do not support the use of raw asset files (saved in the assets/ directory) in a library project. Any asset resources used by an application must be stored in the assets/ directory of the application project itself. However, resource files saved in the res/ directory are supported.


字体文件只能放在app工程目录下,放在库文件工程,或者模块工程下手会报错..

你可能感兴趣的:(android)