【问题标题】:Xamarin axml the layout could not be load - visual studio 2015Xamarin axml 无法加载布局 - Visual Studio 2015
【发布时间】:2016-11-02 15:01:26
【问题描述】:

当我使用 .axml Xamarin 打开文件时遇到问题,在 progetto.droid 中,Visual Studio 向我返回一个错误,提示我无法加载布局。:

我在网上搜索了很多人说解决方法是清除路径C:\Users\xyz\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache中的缓存,我已经删除了这个文件夹,重启vs,但是没有,我仍然存在的问题,我该如何解决?有人有替代解决方案吗?

【问题讨论】:

    标签: c# layout xamarin visual-studio-2015 cross-platform


    【解决方案1】:

    尝试使用 Android SDK 管理器更新您的 java 版本和您的 android SDK 版本,这对我有用。

    【讨论】:

    • 我的android sdk是最后一个,版本25.2.2,为什么不行?
    【解决方案2】:

    实际上,您必须降级您的 SDK。 Google 刚刚发布了新版本的 Android SDK 工具(修订版 24.3)。此版本破坏了 Xamarin.Android 设计器。

    Here is the solution from official blog

    【讨论】:

      猜你喜欢
      • 2020-07-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-07-22
      • 2016-05-03
      相关资源
      最近更新 更多