13

When try to exit the Android Studio, it shows a confirmation dialogue box asking 'Do you really want to exit?'. I mistakenly check the 'Do not ask me again' check box when I tried to exit the android studio. Now, I want that confirmation dialogue box back. I checked it out under File -> Settings but I could not able to find any option to restore that feature back. And also googled it but all in vein.

1
  • I don't suppose it is a registry setting, if it is not in the application? Mar 18, 2015 at 12:08

7 Answers 7

36

For MAC users follow the following steps:

1)Select Preferences from the Android Studio menu

2)Scroll down till the IDE Settings and select the sub section General

3)In the Startup/Shutdown section, you will find Confirm application exit. Select it to enable it again

4)Press Apply


For Windows users follow the following steps:

1)Select File from the toolbar

2)Select Settings

3)Scroll down till the IDE Settings and select the sub section General

4)In the Startup/Shutdown section, you will find Confirm application exit. Select it to enable it again

5)Press Apply

1
  • 6
    Mac version differs: Preferences > Appearance & Behavior > System Settings > Confirm application exit
    – azizbekian
    Sep 3, 2016 at 12:26
14
  1. Open File -> Settings
  2. Enter exit in the search box on the top left
  3. Click on System Settings
  4. Check Confirm application exit
  5. Click on Apply
3
  • thanks for the giving the solution for windows users
    – metior
    Mar 18, 2015 at 12:19
  • @cygery +1 vote for u. you helped me a lot. Thanks (: Feb 13, 2018 at 12:15
  • Nice! Best answer for windows!
    – Crono
    Mar 1, 2018 at 16:35
9

1. Mac Shift+Cmd+A, Windows Ctrl+Alt+S

2. Type "Confirm application exit".

3. Switch ON / OFF in the same windows.

0
3

Android Studio Flamingo | 2022.2.1 Patch 2

  1. Go to Preferences.
  2. Select System Settings.
  3. Locate the checkbox labeled "Confirm before exiting the IDE" and check it.
1

To enable confirmation exit

File -> settings -> General -> Tick confirm application exit

1

For updated answer/guide as of Android Studio 2.1.1

  1. Go to File
  2. Select Settings
  3. Under Appearance & Behavior
  4. Select System Settings
  5. Click/Check Confirm application exit

Ctrl + Alt + S (for opening Settings shortcut) - Windows

1
  • the accepted answer above is no longer available as of Android Studio 2.1.2
    – ralphgabb
    Apr 12, 2017 at 0:51
0

Alternatively to the above answers, you can prefer the hackish way of altering IDE settings - by editing ide.general.xml settings file (on Windows it shall be C:\Users\<LOGIN>\.AndroidStudio\config\options folder) and altering <option name="confirmExit" value="false" /> to true :)

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.