Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create new project in Android Studio?

I want to create new project in Android Studio.

But There is error message.

There must not already be a project at this location

But There is empty folder at 'this location'

like image 215
pushyu Avatar asked May 16 '13 06:05

pushyu


2 Answers

You have to delete the empty folder.

What the error message should say is "There must not already be a folder at this location". The location you specify for the new project must not already exist, because the new project wizard wants to create the folder itself. This makes the whole idea of selecting a folder using the "..." button pointless, you can't select an already-existing folder for the project. It must be a non-existing folder in the "Project location".

I've just spent quite a long and frustrating time figuring this out.

like image 125
joe_deniable Avatar answered Nov 26 '22 13:11

joe_deniable


EDIT: Disregard that, it made a project in the default dir, not the place I specified :(

I had the same problem. The only way I could do it, is to delete projects at the default location (so when I go into Create new Project dialog it won't show me this crap right away). Then enter all the settings for my project and at the very end just paste the path to new project location right into the path field (not select it with their folder picker) and then hit Next.

It's very important to paste path and hit next at very end, so studio won't have time to validate entered path (it will, if you'll try to change some other fields)

like image 43
Alex Orlov Avatar answered Nov 26 '22 13:11

Alex Orlov