1. Download our Official Android App: Forums for Android!

Android Studio closing all tabs when tabbing out

Discussion in 'Android Lounge' started by JuniperSky, Aug 18, 2017.

  1. JuniperSky

    JuniperSky Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Aug 18, 2017

    Aug 18, 2017
    3
    0
    5
    Male
    Hello,

    My recent problem that is causing me nothing but headaches is how Android Studio has begun to close all my open files when I alt+tab out and return to the editor. Does anyone have a solution for this?
     

    Advertisement

  2. steve

    steve Developer
    Administrator
    Rank:
    None
    Points:
    573
    Posts:
    1,086
    Joined:
    Apr 19, 2011

    Apr 19, 2011
    1,086
    1,178
    573
    Male
    Android Developer
    York, PA
    Odd issue. Maybe a key shorcut screwing up something? Install any new window controller apps recently?
    What os?
     
  3. JuniperSky

    JuniperSky Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Aug 18, 2017

    Aug 18, 2017
    3
    0
    5
    Male
    Hi Steve,

    I am using W10 and no I have not installed anything new recently. I have narrowed the issue down to Gradle. When I run my application it will refresh the files in the project folder and closes all active tabs and returns to the main project with everything collapse in the directory.

    I am fairly certain it not a keyboard shortcut; just confused how this change happened with no updates/upgrades occurring to the best of my knowledge.
     
  4. steve

    steve Developer
    Administrator
    Rank:
    None
    Points:
    573
    Posts:
    1,086
    Joined:
    Apr 19, 2011

    Apr 19, 2011
    1,086
    1,178
    573
    Male
    Android Developer
    York, PA
    So Gradle is deleting a project workspace file. Do you have any tasks that delete files?
    You could post your Gradle to help solve this but make sure nothing sensitive is in it.
    Don't forget to check your root level and project level Gradle files.
     
  5. JuniperSky

    JuniperSky Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Aug 18, 2017

    Aug 18, 2017
    3
    0
    5
    Male
    No, I do not have any tasks that would delete anything. Also, there is also nothing in the Gradle output that indicates that it should be removing project Workspace files. My solution is going to be to just stop using Android Studio and compile from the command line since this problem is more than an inconvenience; it ruins work flow in the most negative of ways.

    I appreciate the help but I can't be bothered to troubleshoot it any further than I already have!
     

Share This Page

Loading...