News for hackers. Stuff that matters.
Re:Android Studio 4.0 by MaulingMonkey on Thursday May 28, 2020 @08:42PM (#23344988)
> Why can't it run on a host JVM given some libraries implementing the same APIs?

That's a hideously huge API surface to double-implement - with a new and unique set of bugs reducing it's usefulness in CI builds - for slightly improved performance in a relatively niche dev edge case (!ndk android dev without android hardware.) You'd also need to skip conversion to DEX format (or convert back) to run on a standard JVM.

But your suggestion isn't technically impossible. You could (re)implement the subset of APIs your application happens to use yourself, if you really wanted to go down that route - which by virtue of being a much smaller subset of the APIs than the entire Android Java API surface, wouldn't even be practically impossible.

Re:Android Studio 4.0 by pjmlp on Friday May 29, 2020 @05:11AM (#23347891)
What one can expect, they don't even manage to keep up with Java.