xamarin.android - Xamarin 4.0.13 布局渲染器失败

标签 xamarin.android xamarin-studio

更新到 4.0.13 后,我收到错误“与布局渲染器的连接失败。这可能是由 Java 配置错误引起的。请关闭并再次打开文件”。这是错误日志:

Error: Could not find or load main class Files\Android\android-sdk\tools\lib\ant-tasks.jar;C:\Program
ERROR [2013-10-13 10:47:56Z]: Connection failed
System.Exception: Java process failed to start
   at Xamarin.AndroidDesigner.JavaProcessConnection.DoConnect()
ERROR [2013-10-13 10:47:58Z]: Could not update jumplists
System.InvalidOperationException: The file type is not registered with this application.
   at Microsoft.WindowsAPICodePack.Taskbar.JumpList.AppendCustomCategories()
   at Microsoft.WindowsAPICodePack.Taskbar.JumpList.Refresh()
   at MonoDevelop.Platform.JumpList.UpdateJumpList()
   at MonoDevelop.Platform.JumpList.OnUpdateTimerEllapsed(Object sender, EventArgs args)

Xamarin 应该在发布更新包之前仔细测试。我希望我没有更新到 4.0.13。

最佳答案

我认为这已经解决了。对我来说,我一直随机收到此错误,但如果您遇到它,只需从 Visual Studio 打开 android sdk 管理器
工具 > ANDROID > Android SDK 管理器

关于xamarin.android - Xamarin 4.0.13 布局渲染器失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19341726/

相关文章:

java - Xamarin Studio 中的 Android - 错误 : package com. google.android.gms.tagmanager 不存在

xamarin - 是否可以在没有 Android 的 Mac 上安装 Xamarin.iOS

ios - 使用 Xamarin.ios 将布局约束常量从一个值动画化为另一个值

c# - Xamarin RestSharp POST 方法抛出请求超时错误和名称解析错误

.net 可移植类库包含 Microsoft.VisualBasic 作为依赖项

android - Spinner 的 SelectedItem 始终为 null

c# - OnResume() 在 Xamarin Droid 中与 TabGroupActivity 一起使用时未在子 Activity 中调用

android - Xamarin.Android:错误 APT0000:检索项目父项时出错:找不到与给定名称 '@android:style/Theme.AppCompat' 匹配的资源

android - Android Q 中的 Landroid/view/LayoutInflater 类中没有字段 mConstructorArgs

android - 如何在 Xamarin.Android 中将工具栏黑色文本更改为白色,同时保留 Activity 文本的黑色文本?