In B4A - none, and if you are compiling libraries using SLC it is best to use JDK 8 until Erel fixes some bugs in BADoclet that can produce corrupt XML files with JDK 11 and later. Once your Android app has compiled to a jar it is further recompiled (by the dexer) to Android byte codes so there is no trace of the JDK left at runtime.
It is a different matter for B4J when the compiled jar potentially needs a runtime that matches the one it as compiled under.