Elelan
Elelan

Reputation: 51

Android Studio (4.0) project files are getting deleted after editing and closing the tab

Recently I updated to Android Studio 4.0. My issue is when I'm closing the tabs(Java classes) after editing them, some of those files are getting deleted automatically without my knowledge.

When trying to build the project only, I find out that some of the project files(java, XML, gradle files) are missing.

Then I have to check the local history and revert those deleted files every time. (It's labeled as external change list)

enter image description here

I also have git implemented for the project.

File Missing

Local History

Upvotes: 5

Views: 549

Answers (1)

SergeiLL
SergeiLL

Reputation: 1

This happens in my case because of the synchronization of the project in iCloud. If you are using a Mac, do not save the project to the Documents and Desktop folder.

Upvotes: 0

Related Questions