我想使用来自protoc-gen-grpc-kotlin的protoc gen-grpc-kotlin-1.0.0,我得到了 Execution failed for task ':generateProto'.
> Could not resolve all files for configuration ':protobufToolsLocator_grpckt'.
> Could not find protoc-gen-grpc-kotlin-1.0.0-windows-x86_64.exe (io.grpc:protoc-gen-gr
我刚刚在我的Android项目中启用了Kotlin,我偶然发现了一个警告。在第二个构建(构建->重建项目)之后,此警告将显示在消息下面:
Warning:Runtime JAR files in the classpath should have the same version. These files were found in the classpath:
~/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk8/1.2.10/85fe1811f3e586d0cc53aba1394d80
我在运行我的项目时遇到了异常-
> Task :app:kaptGenerateStubsDebugKotlin
Compilation with Kotlin compile daemon was not successful
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
j
我在IntelliJ IDEA中有一个Kotlin项目(不是针对安卓系统),现在可以用Kotlin1.6.10编译。当我更改为1.7.10时,会得到以下错误:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'jwotd'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not res
我正试图在我的应用程序中添加之后的jetpack撰写,但一旦我将撰写设置为true,我就会遇到构建失败
buildFeatures {
compose = true // enabling compose will result in build failure
}
错误:
* What went wrong:
Execution failed for task
':app:kaptGenerateStubsAlphaX86_64PlayAppDebugKotlin'.
> Compilation error. See log for more details