How to solve the issue of Android Studio 3 (3.1 canary) Preview: Cannot import project

I am working on Android Studio 3 Preview at the moment. However, whenever I tried to open an old project it says:

The project file specified already exists.

I have deleted:

  1. Old code/project from hard disk (completely)
  2. Removed the project from the project list.

Any tips on this?

enter image description here


  • This needs two steps:

    1. You must delete the .idea folder under your project. It is a hidden directory. use ls -a to find it out.

    2. Right click build.gradle and choose application. It probably popup a window asking for a program to open it, choose Android Studio.