Fixed
Status Update
Comments
vi...@google.com <vi...@google.com>
mm...@google.com <mm...@google.com>
aa...@google.com <aa...@google.com>
aa...@google.com <aa...@google.com>
an...@google.com <an...@google.com> #3
Thank you for the report with a reproduction. I can confirm it's reproduced:
src/main/java/com/example/slacklintinvestigation/MainActivity.kt:41: Error: androidx.compose.runtime.EffectsKt.LaunchedEffect is deprecated; consider using an alternative. [DeprecatedCall from slack-lint]
LaunchedEffect(key1 = "some") {
^
Explanation for issues of type "DeprecatedCall":
Using deprecated classes is not advised; please consider using an
alternative.
Vendor: slack
Identifier: slack-lint
Contact: https://github.com/slackhq/slack-lints
Feedback: https://github.com/slackhq/slack-lints
It's supposed to be:
@Composable
fun LaunchedEffect(
key1: Any?,
block: suspend CoroutineScope.() -> Unit
) { ... }
but resolved to:
@Deprecated(LaunchedEffectNoParamError, level = DeprecationLevel.ERROR)
@Composable
fun LaunchedEffect(
block: suspend CoroutineScope.() -> Unit
): Unit = error(LaunchedEffectNoParamError)
So... seems like the same root cause as
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