apche
apche
  • 发布:2016-04-06 16:27
  • 更新:2016-04-12 10:53
  • 阅读:1732

离线打包 ant打包

分类:5+ SDK

使用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

2016-04-06 16:27 负责人:无 分享
已邀请:
apche

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

该问题目前已经被锁定, 无法添加新回复