Android Studio - automatic project load
Android StudioProjectLoadingAndroid Studio Problem Overview
I cannot find a way to prevent Android Studio from automatically loading the last project in use. I want it open me the beggining window with the list of projects available and not loading the last used automatically.
Android Studio Solutions
Solution 1 - Android Studio
The location of Reopen last project on startup
was moved to Settings
=> Appearance & Behavior
=> System Settings
with new Android Studio, just uncheck it!
Solution 2 - Android Studio
In Appearance & Behavior -> System Setting , also you can change some other setting about open or save projects
Android Studio 2.1.1 MacOS X
UPDATE
This screen can accessed in Android Studio 3.1.3 on MacOS High Sierra by selecting the Android Studio -> Preferences menu
Solution 3 - Android Studio
Android Studio or Intellij IDEA:
From the menu go to :
File
> Settings >Appearence & Behavior
> System Settings
.
disable the option:
Reopen last project on startup
Solution 4 - Android Studio
Open Settings
, go to General
and remove check from Reopen last project on startup
Solution 5 - Android Studio
If the project that is being reopened is causing android studio to stop responding you may not be able to get to the dialog. I got round this by deleting
~/Library/Preferences/AndroidStudio3.3/options/recentProjects.xml
This allowed me to temporarily start android studio without reopening the offending project, and then permanently disable the reopening feature using the dialog others have mentioned
Solution 6 - Android Studio
I ran into this problem on MacOS when I added Android Studio Canary and Intellij. I'm not sure which caused the issue.
Anyway, here's the steps that I used to fix it:
- Open Android Studio to see what project it opens; write down that project.
- It will freeze, so you need to force quit it.
- Erase the nodes where that project name exists. For me it was the last
<entry>
element and the<option>
element in the recentProjects.xml file (location below). Make sure you delete the complete element! - Restart and it should work. Otherwise, repeat for the new recently opened project that is freezing Android Studio.
Where is the file?
- ~Library/Application Support/Google/AndroidStudio4.1/options
It took me digging up the location of Intellij files then back tracking it to Google then Android Studio to find where the file exists. I hope I save someone the time I wasted on this. :D
Extra note:
The <entry>
node is in here:
<application>
<component name="RecentProjectsManager">
<option name="additionalInfo">
<map>