Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot create new project - There must not already be a project at this location

I am trying to start using the just released Android Studio, I have already established the location for the Android SDK, and the Studio opens correctly.

Now, I want to create a new application project, but I cannot figure out what to select as project location.

Steps followed:

  • Launch Android Studio
  • Select New Project
  • Enter Application Name, Module Name, Package Name.
  • Click on the '...' button to select a project location
  • Select the appropriate folder I created for the project, which is empty. See Screenshot here of the dialog at this point.
  • Clicked Ok on the dialog, and now I am prompted with a second dialog, that is now labeled 'Select Path', where previous dialog was labeled 'Please choose a Project Location'. No matter what folder I select, the option for 'Ok' is grayed out and cannot be selected. Image here.

I read a similar question, and I am making sure, as you can tell by the steps I followed, that I am entering the path at the very end, and it still won't work for me.

I really think there must be a silly thing I am missing here, not sure what it may be though.

Any ideas?

like image 778
daniel_c05 Avatar asked May 17 '13 00:05

daniel_c05


1 Answers

So, apparently what caused the main problem is that the first time I launched Android Studio I didn't create a new project, I imported one, and that seemed to screw the whole workflow of it.

As per someone's answer, who was apparently removed, here are the steps.

  1. Go to C:\Users\Username\ and erase the folder named: .AndroidStudioPreview.
  2. Launch Android Studio again, it will ask if you want to import any settings, select the option that doesn't import anything.
  3. Optionally Configure, Project Defaults, Project Structure, Platform Settings, and make sure that both the JDK and Android SDK are configured, for instance, I had to point Android Studio to a folder where the SDK had already been downloaded.
  4. Create new project, and leave the default workspace that will now show, it should be C:\Users\Username\AndroidStudioProjects

That's it, just go through the setup wizard, and you're done.

like image 71
daniel_c05 Avatar answered Sep 19 '22 16:09

daniel_c05