码迷,mamicode.com
首页 > 其他好文 > 详细

解决error retriving parent for item

时间:2015-11-18 22:43:15      阅读:173      评论:0      收藏:0      [点我收藏+]

标签:

解决error retriving parent  for item

In "android-support-v7-appcompat" project:

  • Delete “android-support-v7-appcompat” from Package explorer.
  • Import again and check “Copy into workspace”
  • In Properties -> Android -> in Project build target, uncheck Android 2.2 and check Android 4.1.2
  • In Java build path, uncheck if you have any .jar library, and uncheck the Dependences

In other hand, the project that uses “android-support-v7-appcompat”:

  • In Properties -> Android add the library, but uncheck "IsLibrary”.
  • In Android -> Project build tarjet check Android 4.0.
  • In "Java Build Path" -> Order and Export -> Unchecked the .jar library
  • Finally do a “Project -> Clean” both projects

解决error retriving parent for item

标签:

原文地址:http://www.cnblogs.com/mengyuanyuan/p/4975896.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!