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出问题,更新都要考虑风险了。

更多相关文章

  1. android 导入工程出现很多错误 cannot be resolved
  2. Android(安卓)下载图片的问题
  3. android学习——android 常见的错误 和 解决方法
  4. android 从tomcat读取文件出错:connect failed: ECONNREFUSED
  5. ubuntu出错,开机无法登录
  6. mac 下启动Android(安卓)Studio 时出现 Android(安卓)Studio was
  7. [置顶] Android(安卓)Studio Eclipse运行时出现 finished with n
  8. android Vibrator使用示例
  9. android中webview开启了硬件加速后会出现闪烁问题

随机推荐

  1. TimePicker的一些使用方法
  2. Android方法的传递值及其改变
  3. 日拱一卒(十三)
  4. Android配置打包名称
  5. 零碎知识点回顾——Activity横竖屏切换的
  6. Android(安卓)Support库和AndroidX冲突问
  7. Android之给图片添加水印效果
  8. android 保存配置文档
  9. Android 自定义显示图片Dialog
  10. android中保存Bitmap图片到指定文件夹中