Shot icon indicating copy to clipboard operation
Shot copied to clipboard

Support for Java 17 and AGP 8.0

Open thomasflad opened this issue 1 year ago • 1 comments

Expected behaviour

It should successfully execute and generate screenshots with Java 17 since AGP 8.0 has a dependency with Gradle 8.0+ which is using Java 17

Actual behaviour

Failing with error: Unable to make public void sun.nio.ch.ChannelInputStream.close() throws java.io.IOException accessible: module java.base does not "exports sun.nio.ch" to unnamed module @42b6a87e

Steps to reproduce

Execute command ./gradlew executeScreenshotTests -Precord

Version of the library

Lib version: 5.14.1 Java version: 17 Emulator version: API 30 AGP: 8.0.0

thomasflad avatar Apr 17 '23 08:04 thomasflad

It duplicates https://github.com/pedrovgs/Shot/issues/268 and is resolved by https://github.com/pedrovgs/Shot/pull/292

vudzkostek avatar Apr 24 '23 18:04 vudzkostek