Fixed
Status Update
Comments
vi...@google.com <vi...@google.com>
mm...@google.com <mm...@google.com>
ad...@google.com <ad...@google.com> #2
(just passing by on triage duty; I think this is at least S2 due to losing a recording without even a dialog like "Overwrite existing file? [Yes] [No]")
aa...@google.com <aa...@google.com>
aa...@google.com <aa...@google.com>
an...@google.com <an...@google.com> #3
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Ladybug Feature Drop | 2024.2.2 Canary 2
- Android Gradle Plugin 8.8.0-alpha02
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
Description
From the Logcat pane, click the 'Record Screen' icon.
The defaults are fine, just click 'Start Recording'.
Stop the recording.
When prompted, choose an existing MP4 to overwrite.
Confirm that you want to replace the file.
- What happened.
At this point, I get an error message:
Record Screen
Failed to record the screen
java.nio.File.FileAlreadyExistsException
C:\Users\xxx\Documents\folder\path\yyy.mp4
- What you think the correct behavior should be.
The file should have been overwritten with my new recording.
- Is this a security related issue? Yes/No
No.
Android Studio Flamingo | 2022.2.1 Patch 1
Build #AI-222.4459.24.2221.9971841, built on April 19, 2023
Runtime version: 17.0.6+0-b2043.56-9586694 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 32
Registry:
external.system.auto.import.disabled=true
ide.text.editor.with.preview.show.floating.toolbar=false
gradle.version.catalogs.dynamic.support=true