Androidstudio下Generate signed apk提示Error: Expected resource of type id [ResourceType]解决办法

 

只需要在报错位置所在的类上面添加:
@SuppressWarnings("ResourceType")
即可实现Generate signed apk。
原文地址:https://www.cnblogs.com/yuanxiaoping_21cn_com/p/5465129.html