更新到 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 管理器


评论关闭
IT干货网

微信公众号号:IT虾米 (左侧二维码扫一扫)欢迎添加!