stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
02/02/13 03:31 PM (12 years ago)

Can't Import New Project

So, finished one Android app and now want to start a new one. Started creating with BT and downloaded source file. Went to Eclipse and click import, existing Android Code into workspace and pointed it to the folder BT created for me. But I can't go any further and get this message: Cannot import BT_activity_root because the project name is in use. Now I tried to previously create this app by hitting New but then realized that was wrong and it should be imported so I deleted the BT_import _activity _root_appname. Is Eclipse still seeing it somehow or am I doing something else wrong. Thanks. Steve
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
02/02/13 03:56 PM (12 years ago)
I think what's happening is your android project is called 'BT_root_activity' or some such... for both. Click on your Project (the one that is already in eclipse) and 'right' click the mouse. Select the option called 'refactor' and then choose 'rename'. Rename your project to something closer to what it's actually called (I use the old 'com.domain.projectname' convention)... If you rename it, then it 'should' allow you import the next one. Be sure to rename THAT one too. Cheers! -- Smug
 
stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
like
02/02/13 04:09 PM (12 years ago)
That did it! Thanks Smug. Ssteve
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.