Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Java 17 and AGP 8.0 #336

Open
thomasflad opened this issue Apr 17, 2023 · 1 comment
Open

Support for Java 17 and AGP 8.0 #336

thomasflad opened this issue Apr 17, 2023 · 1 comment

Comments

@thomasflad
Copy link

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

@vudzkostek
Copy link

vudzkostek commented Apr 24, 2023

It duplicates #268 and is resolved by #292

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants