之前都还好好的,过了个周末去公司发现,使用apktool等工具对apk进行解包,使用新的签名文件再次签名生成apk时,遇到报错提示:

1、No resource found that matches the given name ‘@android:style/Animation.OptionsPanel’.
2、 No resource found that matches the given name ‘@android:style/Animation.LockScreen’.

原因是在styles.xml文件中,有如下代码,删除即可。