无法访问AutoSizeableTextView公共类ButtonRenderer

问题描述 投票:0回答:1

Visual Studio显示以下错误:

error: cannot access AutoSizeableTextView
public class ButtonRenderer
  class file for android.support.v4.widget.AutoSizeableTextView not found - file: \obj\Debug\81\android\src\md5f92e0daf340890c9667469657ee2ece8\ButtonRenderer.java


error: cannot access NestedScrollingChild2
public class ItemsViewRenderer
  class file for android.support.v4.view.NestedScrollingChild2 not found - file: \obj\Debug\81\android\src\md51558244f76c53b6aeda52c8a337f2c37\ItemsViewRenderer.java

error: cannot access NestedScrollingParent2
public class SwipeDismissBehavior_OnDismissListenerImplementor
  class file for android.support.v4.view.NestedScrollingParent2 not found - file: \obj\Debug\81\android\src\mono\android\support\design\widget\SwipeDismissBehavior_OnDismissListenerImplementor.java

error: cannot access TintableImageSourceView
public class ImageButtonRenderer
  class file for android.support.v4.widget.TintableImageSourceView not found - file: \obj\Debug\81\android\src\md51558244f76c53b6aeda52c8a337f2c37\ImageButtonRenderer.java

我安装了一些我认为导致问题的软件包:我安装了OneSignal和AppLinks,需要安装Xamarin.GooglePlayServices.Base和Xamarin.GooglePlayServices.Basement。然后Android特定包之间有一些冲突,我删除了我安装到OneSignal的所有软件包。我删除了bin和obj文件夹,干净并构建了项目,并重新启动了Visual Studio,但问题并没有消失!

xamarin xamarin.forms xamarin.android onesignal applinks
1个回答
0
投票

事实证明,我安装了Intersoft Solutions的Crosslight.Xamarin.GooglePlayServices.Base软件包,被软件包名称误导,而我试图通过Microsoft下载软件包,我将其删除,现在项目正常运行

© www.soinside.com 2019 - 2024. All rights reserved.