We need to run an HTTP server within our Android app that supports HTTP/1, HTTP/2, and HTTP/3. We explored Jetty as a potential option, but Jetty 12.x requires a minimum of Java 17. However, since we aim to support Android 10 and above devices, we need to determine whether Jetty 12.x can function without issues on such devices. Specifically, we need to verify if desugaring will successfully handle all Java 17 APIs used by Jetty 12.x. Additionally, we are looking for alternative HTTP server stacks that meet our requirements.
Explored Jetyy library but didn’t not find enough information to it’s working on its working on Android 10 devices.