semantic analysis: Unsupported class file major version 61
According to the internet this is because some dependency is compiled by Java 17 and the 6.7.1 version of Gradle downloaded by the wrapper can't handle it. Switching gradle/wrapper/wrapper.properties to use 7.4 in the distributionUrl I think worked around the issue for me, though I haven't tested pushing it to a device yet.
semantic analysis: Unsupported class file major version 61
According to the internet this is because some dependency is compiled by Java 17 and the 6.7.1 version of Gradle downloaded by the wrapper can't handle it. Switching
gradle/wrapper/wrapper.properties
to use 7.4 in the distributionUrl I think worked around the issue for me, though I haven't tested pushing it to a device yet.