android tool export报错为support v7包问题

  android在这次的更新23.0.2的SDK tools在用android tool export打包时候会出错,出错类型为

Duplicate id @+id/image, already defined earlier in this layout Issue: Checks for duplicate ids within a single layout Id: DuplicateIds Within a layout, id's should be unique since otherwise findViewById() can return an unexpected view.

This class should be public (android.support.v7.internal.widget.ActionBarView.HomeView) Issue: Ensures that classes registered in the manifest file are instantiatable Id: Instantiatable Activities, services, broadcast receivers etc. registered in the manifest file must be "instantiatable" by the system, which means that the class must be public, it must have an empty public constructor, and if it's an inner class, it must be a static inner class.

 



 



 

解决方法为直接用export导出包。

 

这个方法真机测试的时候可能会出现一些奇怪的错误。

 

这个问题的类型应该为support v7 出现问题,一个id名称重复了,估计是官方的问题。。上回那个android SDK 新建工程要重复build,现在又tools export出问题,更新都要考虑风险了。

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值