Skip to content

Android Studio holds lock on version.properties file which interferes with git operations #282

@dukesta3

Description

@dukesta3

Checklist

Describe the bug

I'm running Android Studio 4.1 and recently changed over to refreshVersions. I've noticed that if I want to delete something from the version.properties file by discarding changes from GitKraken, it doesn't work. I have to close Android Studio to be able to discard it. That's not too big of an issue but I just tried to do a rebase where there was version.properties changes and I got failures in both Android Studio and GitKraken with very general errors. I tried aborting the rebase from the terminal a few times and trying again to make sure it was 100% repeatable. Then, aborted the rebase, shut down Android Studio, and was able to rebase just fine.

To Reproduce

  1. Open Android Studio
  2. Attempt to rebase onto a branch that would require version.properties to change

Expected behavior
Successful rebase.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions