简体   繁体   English

Xamarin,CompilationFailedException:编译未能完成,来源:classes.jar:ApkLibraryInstaller$ZipFileInZipEntry.class

[英]Xamarin, CompilationFailedException: Compilation failed to complete, origin: classes.jar : ApkLibraryInstaller$ZipFileInZipEntry.class

I have developing Xamarin project for Android and building is failed with我正在为 Android 开发 Xamarin 项目,但构建失败

java.lang.RuntimeException: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: obj\Debug\110\lp\134\jl\bin\classes.jar : com/getkeepsafe/relinker/ApkLibraryInstaller$ZipFileInZipEntry.class MyClient.Android            

I have no idea why this is causing.我不知道这是为什么。 This caused after install Twilio.Conversations.Xamarin nuget library.这在安装Twilio.Conversations.Xamarin nuget 库后引起。

Is there missing any configuration?是否缺少任何配置?

Update following nuget packages to be latest.将以下 nuget 包更新为最新的。 (At 28th June 2022) (2022 年 6 月 28 日)

Twilio.Conversations.Xamarin is depends on Xamarin.Kotlin.StdLib (>= 1.5.31) but it should be (>=1.5.31.1) Also ReLinker needs to be 1.4.4 Twilio.Conversations.Xamarin依赖于 Xamarin.Kotlin.StdLib (>= 1.5.31) 但它应该是 (>=1.5.31.1) ReLinker 也需要是 1.4.4

Reported the issue and has been fixed on #6已报告问题并已在#6上修复

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM