Hello.
Android is far behind regular Java, some its parts, especially the JDBC API are still somewhere on Java 6 level, so you cannot use current H2 on this platform, it is not supported by H2 any more.
Android API 26 got various significant improvements for better compatibility with Java 7 and 8, but not in the JDBC area. Current H2 requires at least JDBC 4.2. It was released 7 years ago with Java 8, but Android still doesn't support it and has many other limitations. Java 8 by itself is not a problem if you don't support very old devices, but various missing Java APIs used by non-Android libraries, including the H2, is the real problem of this platform.
The simplest solution there is to use some old release of H2 that works for you.