Does anyone know why `System.console` returns null...
# android
d
Does anyone know why
System.console
returns null?
c
Android apps aren’t run from a terminal session, they’re started and managed directly by the OS. Since there’s no interactive character-based terminal, there is no Console object. The Javadoc for that method described that it should return null in this case https://developer.android.com/reference/java/lang/System#console()
d
thanks