6

I'm running my app in Kotlin and there is no error, but I keep getting these warnings:

W/app: Got a deoptimization request on un-deoptimizable method boolean libcore.io.Linux.access(java.lang.String, int) W/app: Got a deoptimization request on un-deoptimizable method java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java.lang.ClassLoader) W/app: Got a deoptimization request on un-deoptimizable method boolean libcore.io.Linux.access(java.lang.String, int)

I wonder if this is something that will make my app crash in the future and if there is anything I could do to avoid it.

1 Answer 1

4

I had a similar issue, the logcat used to print a bunch of warnings with the message:

Got a deoptimization request on un-deoptimizable method boolean libcore.io.Linux.access

That happened when I was trying to debug a few function calls using the debugger, and every time I launched the debugger the app was very slow and the logcat had a bunch of warnings saying the same, so I removed all the breakpoints, and it worked fine, I had like 7 breakpoints in different files and android studio was showing warnings that weren't part of the code and the emulator was unresponsive

enter image description here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.