1. Are you ready for the Galaxy S20? Here is everything we know so far!

Android Studio closing all tabs when tabbing out

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

  1. JuniperSky

    JuniperSky Lurker
    Thread Starter

    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?
     



    1. Download the Forums for Android™ app!


      Download

       
  2. steve

    steve Developer
    Administrator

    Odd issue. Maybe a key shorcut screwing up something? Install any new window controller apps recently?
    What os?
     
  3. JuniperSky

    JuniperSky Lurker
    Thread Starter

    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

    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

    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!
     
Loading...
Similar Threads - Android Studio closing
  1. mysorian
    Replies:
    0
    Views:
    264
  2. mysorian
    Replies:
    0
    Views:
    316
  3. mysorian
    Replies:
    0
    Views:
    408
  4. Emir Sanchez
    Replies:
    1
    Views:
    556
  5. DonaldDuck313
    Replies:
    0
    Views:
    573
  6. rowlanda38
    Replies:
    1
    Views:
    509
  7. Mhae20032003
    Replies:
    5
    Views:
    568
  8. AMAtaee
    Replies:
    3
    Views:
    1,801
  9. Gleis
    Replies:
    1
    Views:
    1,419
  10. umtblbl
    Replies:
    0
    Views:
    557

Share This Page

Loading...