" appcompat_v7"在Eclipse中创建一个新项目后,项目将自动创建 [英] "appcompat_v7" project is created automatically after creating a new project in Eclipse
问题描述
创建任何新的android项目后,Eclipse会自动创建一个appcompat_v7项目,而没有/ src下的任何文件。我不知道Eclipse如何或者为什么要创建这个项目。我也有一个奇怪的错误。
After creating any new android project, Eclipse automatically creates a "appcompat_v7" project without any files under /src. I have no idea how or why Eclipse is creating this project. I am also getting a weird error.
您可以看到项目中存在AndroidManifest.xml!
As you can see the AndroidManifest.xml exists in the project!
编辑1:清理项目后,奇怪的错误消失了,但我仍然想知道为什么要创建appcompat_v7。
After cleaning the project the weird error was gone, but I'd still like to know why the appcompat_v7 is created.
EDIT2:我也注意到Eclipse正在/ res / layout下自动创建一个新的布局,fragment_main.xml。为什么??
I also noticed that Eclipse is automatically creating a new layout, fragment_main.xml, under /res/layout. WHY??
我已经创建了一个新的Workspace,并尝试了好几次。但是我仍然有这个问题。
I have created a new Workspace, and tried it several times. But I still have this problem.
EDIT3:如果您在API 14后选择最低SDK版本,您将无法获得此支持文件夹。
If you choose the minimum SDK version after API 14 you won't get this support folder.
推荐答案
昨晚遇到这个问题。我在做几件事情,包括更新SDK经理。我不得不将 Android SDK工具退回到版本22.3和 Android SDK平台工具到19.
I ran into this problem last night. I was doing several things including updating the SDK manager. I had to back off the Android SDK Tools to Rev. 22.3 and Android SDK Platform-tools to 19.
opus44
这篇关于" appcompat_v7"在Eclipse中创建一个新项目后,项目将自动创建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!