Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Dart doesn't compile to Java, it compiles to Dart VM bytecode. It can transpile to JavaScript, but that's only relevant when targeting a dart2js environment, which these days is basically just Flutter Web. Commented Feb 28 at 16:51
  • @Abion47 right. It doesn't matter though whether it compiles to it or not. The runtime still interacts with code that came from Java on Android (as in: AOT compiled Java or Java VM directly, I'm not sure). And whenever it does it has to be compatible. I've updated the answer. Commented Feb 28 at 17:10