Reputation: 726
Recently i have formatted my windows so i have to reinstall android studio ( little background previously my sdk was in E drive and after formatting it is now is D drive) now i wish to open previous projects in android but whenever i click open existing project it is not opening
here is the screenshot
a little help would be appreciated
Upvotes: 2
Views: 2497
Reputation: 1
It is only because the existing project might have built with the old version of the android studio, don't worry android studio will take some time to make that old project become compatible with yours, and it will open within the short time later. Best of luck!
Upvotes: 0
Reputation: 9130
All of the following is assuming you did a fresh install of Android Studio and the SDK.
If you did not do a fresh install, this may be causing some issues. For your sanity - do a fresh install (I know it is a lot to download).
Move all of your old projects to a different directory (lets call it Old_Workspace
). Make a backup too, just in case.
Start Android Studio.
On the Android Studio "Launch" window there are a number of options. On Linux, with Android Studio Version 2.2 Beta, one of the options is Import project (Eclipse ADT, Gradle, etc.). This is the option you want.
Browse to the Old_Workspace
and find the base directory for the project you want to work on and hit the OK option.
Android Studio will run a few test and try to fix everything up for you. This may take a few moments.
Save the project. The next time you open the project, use the normal way. Your project should also be on the left hand side of the Android Studio Launch window.
Upvotes: 1