Eclipse可以防止创建其他appcompat_v7项目吗? [英] Can Eclipse be prevented from creating additional appcompat_v7 projects?

查看:100
本文介绍了Eclipse可以防止创建其他appcompat_v7项目吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Eclipse现在有一个很好的功能,它为您创建了一个支持项目,名称为 appcompat_v7 ,自动链接support-v4& -v7为您提供XML属性仅在稍后的SDK级别可用。然而,每当我创建一个新的项目,而不是链接到原始的支持项目,它创建一个新的,相同的支持项目,名称为 appcompat_v7_2 appcompat_v7_3 等等。

Eclipse now has this nice feature where it makes a "Support Project" for you with the name appcompat_v7, automatically linking both support-v4 & -v7 for you and giving you XML attributes only available in the later SDK levels. However, whenever I create a new project, instead of linking to the original support project, it creates a new, identical support project with the name appcompat_v7_2, appcompat_v7_3, and so forth.

有没有办法阻止Eclipse创建额外的克隆?

Is there any way we can prevent Eclipse from creating additional clones?

推荐答案

我已经经历了关于这个主题的几个指标,如

I've gone through couple of indicators in SO about this topic like

a)为什么Eclipse每当我自动添加appcompat v7库支持创建一个新项目?
b)和
" appcompat_v7"在Eclipse中创建一个新项目后自动创建项目

但是没有什么地方可以忽略支持库创建。我所了解的是,

But no where it is answered through which we can ignore the support library creation. What I understood is that,

默认情况下,包括支持库是很好的做法,因为设备的多样性和存在于不同版本的Android(因此,提供的API)。

但是,您可以在Eclipse中停用自动包含支持库。

此外,我还经历了这一点 - https://code.google.com/p/android/issues/detail?id=66975 这是一个更好的讨论这个上下文。

Also I went through this - https://code.google.com/p/android/issues/detail?id=66975 which is a much better discussion on this context.

这篇关于Eclipse可以防止创建其他appcompat_v7项目吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆