Kotlin repl for Android

Does Kotlin have a repl that I can use to execute code within my Android app which is already running on the phone ?

This will be a lot of help when we are trying out various Android APIs, third party libs, etc.


No, Kotlin doesn’t have such a REPL. You can use the “Evaluate Expression” feature in the debugger as a partial replacement.

Are there any plans to implement a remote REPL like this?

1 Like

Not at this time.


Interesting, though it seems not to be Android related.

Interactive REPL style debuggers are so useful for learning. Here’s another voice for this feature.

Until then I’ll try these:

And there’s probably others like Jimu Mirror if anyone knows of?

You could also get good with the existing debugging features: