在创建每个新项目之后创建

在创建每个新项目之后创建

本文介绍了Eclipse ADT:项目名称“appcompat_v7”在创建每个新项目之后创建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想强调这一点,并把它全部在这个线程中,因为其余的线程没有一个结论的答案,所以在跳过这里之前,我提到的线程:







自从过去以来,ADT一直表现得有点怪异几天。我保持我的SDK总是更新,所以我经常运行SDK管理器并下载所有的更新。最近我注意到,如果我创建一个新的Android应用程序项目,它不会创建默认的MainActivity即使我检查该框,它不会创建一个活动在src和更多的烦恼我,我无法重构任何东西,所以我意识到我不得不更新我的Eclipse,因为阅读几个帖子,但现在当我创建每个新项目,它创建一个令人讨厌的appcompat_v7项目与每个项目,说我创建两个新项目,它创建appcompat_v7_2 ....这是驱使我疯狂,新项目库是appcompat_v7项目。这变得烦人了,不知道这里发生了什么!我该怎么办...请救我!感谢提前....一个屏幕截图惹恼你们... :)





***************当前的选择,不一个解决方案***********************



截至12/5/2014与ADT 23.0.2我没有看到这个问题了。



我已经等待了一个可接受的解决方案在这个问题(现在没有),但其中一个成员指示我参加这个职位。。我在做的是在下面的一个解决方案中描述的,但是对于那些已经来到这个帖子的人来说,替代方法是删除那个已经被创建并且加起来的这个丑陋的项目(如果你有不止一个)并且添加一个(appcompat_v7 )作为图书馆。因此,如果您创建另一个项目,并且appcomat_v7_2 ...出现删除并将您的项目指向appcompat_v7,对其他项目也一样。这不是因为某些原因而推荐的,但是对我来说,这是没有问题的。如果有人找到解决方案,请张贴在这里。
****************目前的选择,而不是解决方案************************ *****

解决方案

如果我使用


$ b $,该文件夹appcompat_v7不会创建b

  minSdkVersion =14


Well I want to highlight this and bring it all in this thread, as the rest of threads did not have a concluded answer, so before skipping into them here are the threads I referred to:

Adt doesn't create default hello world but command line does

[solved ]Eclipse behaving differently while creating new project/activity

ADT has been behaving a bit weird since past few days. I keep my SDK always updated so I frequently Run the SDK manager and download all the updates. recently I noticed that if I create a new android app project it is not creating a default MainActivity even if I check that box, it does not create a Activity under src and more to annoy me, I wasnt able to refactor anything, so I realized that I had to update my Eclipse as after reading few posts, but now when I create every new project it creates an annoying appcompat_v7 project with EVERY project, say I create two new projects it creates appcompat_v7_2....this is driving me crazy and the new project library is the appcompat_v7 project. This is becoming annoying and no idea whats going on here !!!! What should I do...please rescue me ! Thanks in advance ....A screenshot to annoy u guys too ... :)

***************Current Alternative, not a solution***********************

As of 12/5/2014 with ADT 23.0.2 I dont see this issue anymore.

I have waited for an acceptable solution on this issue (as of now there is none), but one of the SO members directed me to this post https://code.google.com/p/android/issues/detail?id=66975. What I am doing is described in one of the solutions below, but for people who have come to this post, the alternative is to delete that ugly project(if you have more than one) which has been created and add up this one(appcompat_v7) as a library. So if you create another project and appcomat_v7_2...comes up delete that and point your project to the appcompat_v7, do the same for other projects too. This is not recommended for some reason though, but it worked well for me till now without issues. If anyone hits up with a solution please post it here.****************Current Alternative, not a solution*****************************

解决方案

the folder appcompat_v7 doesnt get created if i use

minSdkVersion="14"

这篇关于Eclipse ADT:项目名称“appcompat_v7”在创建每个新项目之后创建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 09:06