无法访问 AutoSizeableTextView public class ButtonRenderer
Cannot access AutoSizeableTextView public class ButtonRenderer
Visual Studio 显示这些错误:
error: cannot access AutoSizeableTextView
public class ButtonRenderer
class file for android.support.v4.widget.AutoSizeableTextView not found - file: \obj\Debug\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\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\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\android\src\md51558244f76c53b6aeda52c8a337f2c37\ImageButtonRenderer.java
我安装了一些我认为导致问题的软件包:我安装了 OneSignal 和 AppLinks,这需要安装 Xamarin.GooglePlayServices.Base 和 Xamarin.GooglePlayServices.Basement。然后 Android 特定包之间发生了一些冲突,我删除了我安装到 OneSignal 的所有包。我删除了 bin 和 obj 文件夹,清理并构建项目,然后重新启动 Visual Studio,但问题并没有消失!
原来我是Intersoft Solutions安装的包Crosslight.Xamarin.GooglePlayServices.Base,被包名误导了,当我试图从微软下载包时,我删除它,现在项目正常工作
Visual Studio 显示这些错误:
error: cannot access AutoSizeableTextView
public class ButtonRenderer
class file for android.support.v4.widget.AutoSizeableTextView not found - file: \obj\Debug\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\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\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\android\src\md51558244f76c53b6aeda52c8a337f2c37\ImageButtonRenderer.java
我安装了一些我认为导致问题的软件包:我安装了 OneSignal 和 AppLinks,这需要安装 Xamarin.GooglePlayServices.Base 和 Xamarin.GooglePlayServices.Basement。然后 Android 特定包之间发生了一些冲突,我删除了我安装到 OneSignal 的所有包。我删除了 bin 和 obj 文件夹,清理并构建项目,然后重新启动 Visual Studio,但问题并没有消失!
原来我是Intersoft Solutions安装的包Crosslight.Xamarin.GooglePlayServices.Base,被包名误导了,当我试图从微软下载包时,我删除它,现在项目正常工作