[英]Java.Lang.NoClassDefFoundError: 'Failed resolution of: Landroidx/arch/core/executor/ArchTaskExecutor;'
I was programming when I imported the newtonsoft, json library.我在导入 newtonsoft、json 库时正在编程。 Sudenly, when I execute my app shows this mesaje.
突然,当我执行我的应用程序时,会显示这个 mesaje。 It was never show before.
这是以前从未展示过的。
I got back to the last succesful version of my project also I deleted the new library.我回到了我项目的最后一个成功版本,我也删除了新库。 But when I execute it, still the message.
但是当我执行它时,仍然是消息。 Also I tried to execute a new "hello world" Xamarin.Android app but it says the same.
我还尝试执行一个新的“hello world”Xamarin.Android 应用程序,但它说的是一样的。 I can not deploy either the android emulator.
我无法部署 android 仿真器。 It looks like all my Visual Studio crashed and my emulator too.
看起来我所有的 Visual Studio 都崩溃了,我的模拟器也崩溃了。
This is the error code:这是错误代码:
What could I do?我能做什么? Desintall all the visual studio and intall it again?
卸载所有视觉工作室并重新安装它? Is there a way to reintall only the Android Management Devices?
有没有办法只重新安装 Android 管理设备?
In your Hello World, you will also need Xamarin.AndroidX.Arch.Core.Runtime Version 2.1.0.8 if using Xamarin.AndroidX.App.Compat 1.2.0.7, so I suspect that you will also need it in your main project too.在您的 Hello World 中,如果使用 Xamarin.AndroidX.App.Compat 1.2.0.7,您还需要 Xamarin.AndroidX.Arch.Core.Runtime 版本 2.1.0.8,所以我怀疑您在主项目中也需要它。 See https://github.com/xamarin/AndroidX/issues/278 .
请参阅https://github.com/xamarin/AndroidX/issues/278 。
I'm using VS 16.10.0 Prev 1.0, so it may be different if using earlier versions of VS我使用的是 VS 16.10.0 Prev 1.0,所以如果使用早期版本的 VS 可能会有所不同
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.