Open stevebroshar opened 7 months ago
Does compile after upgrading gradle plugin per suggestion in popup. So... it's not really a suggestion. It's a requirement.
Can't the sample be updated so consumers don't have to figure this out? Or at least put a LOUD note in the readme.
Please follow the following instructions before filing a bug:
Summary: I cannot build Camera2Basic. I would hope and assume samples would be easy to build. But I get one error after another. And I find no instructions on how to get it building. Not a very useful sample if I can't build it.
Sample: Camera2Basic Target: Pixel 7 API 34 (also tried API 30) Using latest from https://github.com/android/camera-samples/tree/main/Camera2Basic Open in Android studio 2023.1.1 Fails to build with logged message: Unsupported Java. Your build is currently configured to use Java 17.0.7 and Gradle 6.7.1. Possible solution:
The longest log message is as follows:
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.AssertionError: symbolic reference class is not accessible: class sun.nio.ch.FileChannelImpl, from class org.jetbrains.kotlin.com.intellij.util.io.FileChannelUtil (unnamed module @6069db50) [in thread "RMI TCP Connection(2)-127.0.0.1"] at org.jetbrains.kotlin.com.intellij.openapi.diagnostic.DefaultLogger.error(DefaultLogger.java:53) at org.jetbrains.kotlin.com.intellij.openapi.diagnostic.Logger.error(Logger.java:169) at org.jetbrains.kotlin.com.intellij.util.io.FileChannelUtil.setupUnInterruptibleHandle(FileChannelUtil.java:43) at org.jetbrains.kotlin.com.intellij.util.io.FileChannelUtil.(FileChannelUtil.java:18)
... 56 more
Could not connect to kotlin daemon. Using fallback strategy. Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.AssertionError: symbolic reference class is not accessible: class sun.nio.ch.FileChannelImpl, from class org.jetbrains.kotlin.com.intellij.util.io.FileChannelUtil (unnamed module @6069db50) [in thread "RMI TCP Connection(2)-127.0.0.1"]