penfeizhou / APNG4Android

Android animation support for APNG & Animated WebP & Gif & Animated AVIF, High performance
Apache License 2.0
579 stars 76 forks source link

apng图片,开启混淆后不动了 #130

Closed LuoGuoXin closed 2 years ago

LuoGuoXin commented 2 years ago

New Issue Checklist

Issue Info

Info Value
Device Info e.g. Huawei Mate 30 pro
System Version e.g. 6.0
APNG4Android Library Version e.g. 1.0.0
Repro rate e.g. all the time (100%) / sometimes x% / only once
Repro with our demo project e.g. does it happen with our demo project?
Demo project link e.g. link to a demo project that highlights the issue

Issue Description and Steps

Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.

penfeizhou commented 2 years ago

文档中有说明:

使用前请注意!

不要将APNG资源放置到drawable或者mipmap目录下! 在Android app release构建过程中, aapt工具会压缩修改APNG资源的帧信息, 会导致播放不正常. 因此请将APNG资源放置到工程内的raw或者assets目录内.

LuoGuoXin commented 2 years ago

谢谢,了解