Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse ADT: Project name "appcompat_v7" being created after creating every new project

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 ... :)

Today is not my day!

***************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*****************************

like image 840
uLYsseus Avatar asked Mar 07 '14 17:03

uLYsseus


2 Answers

the folder appcompat_v7 doesnt get created if i use

minSdkVersion="14"
like image 107
Murad Avatar answered Nov 03 '22 12:11

Murad


Seems like it is a eclipse bug. What you need to do is go to properties in the of the Android Project and in the Android Section. Add the library appcompat_v7 and remove the appcompat_v_7_2 (duplicate). Then you can remove the appcompat_v7_2 as a eclipse project. All errors fixed.

Just a workaround.

like image 30
shap4th Avatar answered Nov 03 '22 11:11

shap4th