我正在尝试Xamarin.Auth
在项目中实现该库Xamarin.Forms
。在我的客户项目中安装库后,我收到了System.NotImplementedException
:
System.NotImplementedException:
Portable Bait And Switch is nuget feature, so the package must be installed in all project.
NotImplementedException will indicate that Portable Code from PCL is used and not Platform Specific implementation.
Please check whether platform specific Assembly is properly installed.
因此,我也在 Droid 项目中安装了该库。完成此操作后,我开始收到与 CustomTabs 控件相关的“找不到符号”错误:
error: cannot find symbol
extends android.support.customtabs.CustomTabsCallback
symbol: class CustomTabsCallback
location: package android.support.customtabs Kpa.Mko.Mobile.Client.Droid
H:\...\obj\Debug\android\src\android\support\customtabs\CustomTabsClient_CustomTabsCallbackImpl.java
总共有 6 个这样的错误,每一个都CustomTabs
以某种方式相关。
我们正在使用:
- Xamarin.Auth 1.3.2.5 Xamarin.Forms 2.3.3.193
- Xamarin.Android.Support.v7.AppCompat 25.1.1
- Xamarin.Android.Support.v7.CardView 25.1.1
- Xamarin.Android.Support.v7.MediaRouter 25.1.1
- Xamarin.Android.Support.v7.RecyclerView 25.1.1
我已经在 Xamarin 论坛、Stack Overflow 和 Google 上对这个问题进行了一些研究,但我发现的建议修复都没有解决我的问题。我对这里可能发生的事情感到完全困惑。我错过了显而易见的事情吗?
谢谢!