Reputation: 715
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.
Upvotes: 56
Views: 25872
Reputation: 5741
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:
<entry>
element and the <option>
element in the recentProjects.xml file (location below). Make sure you delete the complete element!Where is the file?
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>
Upvotes: 0
Reputation: 428
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
Upvotes: 1
Reputation: 3708
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
Upvotes: 45
Reputation: 126455
Android Studio or Intellij IDEA:
From the menu go to :
File
> Settings >Appearence & Behavior
> System Settings
.
disable the option:
Reopen last project on startup
Upvotes: 16
Reputation: 1541
The location of Reopen last project on startup
was moved to Settings
=> Appearance & Behavior
=> System Settings
with new Android Studio, just uncheck it!
Upvotes: 96
Reputation: 5020
Open Settings
, go to General
and remove check from Reopen last project on startup
Upvotes: 6