After i updated some packages (Android Support Design) on my project, an error appeared:
Java.Lang.NoClassDefFoundError: android.arch.core.internal.FastSafeIterableMap
I don't know why i have this. I changed my target android version, but the error is still here.
I'm using the latest version of xamarin, and i'm still in debug, with proguard disable.
Any ideas?packages.config
:
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Xamarin.Android.Arch.Core.Common" version="1.0.0.1" targetFramework="monoandroid81" />
<package id="Xamarin.Android.Arch.Lifecycle.Common" version="1.0.3.1" targetFramework="monoandroid81" />
<package id="Xamarin.Android.Arch.Lifecycle.Runtime" version="26.1.0" targetFramework="monoandroid81" />
</packages>
2条答案
按热度按时间q9rjltbz1#
软件包
Xamarin.Android.Arch.Lifecycle.Runtime
的版本26.1.0
为listed as deprecated:拥有者已取消列出此套件。这可能表示此套件已过时或不应再使用。
请尝试删除此软件包,然后使用current version 1.0.3.1重新添加。
然后再做一个
clean
和rebuild
的项目。e5nszbig2#
I got this same error when i migrated
From
To
and realized i need to add this extra dependency for design 27.1.1 to work
That's all.