[英]java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/arch/core/util/Cancellable
[英]Java.Lang.NoClassDefFoundError: 'Failed resolution of: Landroidx/arch/core/executor/ArchTaskExecutor;'
在您的 Hello World 中,如果使用 Xamarin.AndroidX.App.Compat 1.2.0.7,您还需要 Xamarin.AndroidX.Arch.Core.Runtime 版本 2.1.0.8,所以我怀疑您在主项目中也需要它。 请参阅https://github.com/xamarin/AndroidX/issues/278 。
我使用的是 VS 16.10.0 Prev 1.0,所以如果使用早期版本的 VS 可能会有所不同
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.