使用ant 打包 ,怎么配置
提示这个错误 [proguard] Note: the configuration refers to the unknown class 'io.dcloud.share.ShareAuthorizeView'
[proguard] Warning: io.dcloud.wxapi.WXEntryActivity: can't find superclass or interface io.dcloud.feature.oauth.weixin.AbsWXCallbackActivity
1 个回复
apche (作者)
找到问题了:
离线打包的proguard.cfg 文件配置有误,正确的配置如下:
io.dcloud.common.DHInterface 改为io.dcloud.common.DHInterface即可,另外第一个DHInterface.IDPlugin 不是DHInterface.IPPlugin
-keep public class extends io.dcloud.common.DHInterface.IDPlugin
-keep public class extends io.dcloud.common.DHInterface.IFeature
-keep public class extends io.dcloud.common.DHInterface.IBoot
-keep public class extends io.dcloud.common.DHInterface.IReflectAble