无法加载memtrack在Xamarin.Forms(没有这样的文件或目录)错误的Visual Studio 2015年 [英] Couldn't load memtrack (No such file or directory) error in Xamarin.Forms Visual Studio 2015

查看:767
本文介绍了无法加载memtrack在Xamarin.Forms(没有这样的文件或目录)错误的Visual Studio 2015年的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Visual Studio 2015年将创建了一个名为MyFifthTry一个Xamarin.Forms应用程序当我尝试在一个已经运行的模拟器部署MyFifthTry.Droid项目(Bluestacks 2),部署失败。有一个在Visual Studio中的ErrorList没有错误,但Android设备记录(logcat中)给了我以下三个错误:

I have a created a Xamarin.Forms application named MyFifthTry in Visual Studio 2015. When I try to deploy the MyFifthTry.Droid project on an already running emulator (Bluestacks 2), the deploy fails. There is no error in the ErrorList of Visual Studio, but Android Device Logging (logcat) gives me the following three errors:

1)Couldn 'T加载memtrack(没有这样的文件或目录)

1) Couldn't load memtrack (No such file or directory)

2)加载失败memtrack模块:-2

2) failed to load memtrack module: -2

3)错误打开跟踪文件:没有这样的文件或目录(2)

3) Error opening trace file: No such file or directory (2)

我在网上搜索,并因此对于这些错误,并发现有答案,但他们没有很多的问题帮助我,因为他们都对Android的工作室和Java,因为我无法对我的项目应用的解决方案。

I searched the internet and SO for these errors and found many questions with answers but none of them helped me as they were all regarding Android Studio and Java, due to which I was not able to apply the solutions on my project.

我认为这是对上Xamarin.Forms此错误的一个新问题。 。任何帮助,将不胜感激。

I think this is a new question regarding this error on Xamarin.Forms. Any help would be greatly appreciated.

编辑:这些错误是有太多:

These errors are there too:

java.io.IOException异常:连接被拒绝。

Java.io.IOException:Connection refused

错误接受输出和错误(127.0.0.1:8944):在使用地址已

Error accepting stdout and stderr (127.0.0.1:8944): Address already in use

未能加载程序集FormsViewGroup。

Could not load assembly 'FormsViewGroup' during startup registration.

这可能是由于一个无效的调试安装目录。

This might be due to an invalid debug instalation.

一个常见的原因是亚行安装的应用程序,而不是直接从IDE做的。

A common cause is to 'adb install' the app directly instead of doing from the IDE.

我得到了一个错误,虽然我推出从IDE中的应用程序。

I got the last error, although I launched the application from the IDE.

推荐答案

经过一番研究,通常会出现此错误,如果你已经有应用程序,但安装在仿真器的不同版本。

After some research this error commonly appears if you already have the app but a different version installed on the emulator.

如果您删除已部署到这个模拟器的所有现有的应用程序,然后再试一次,可能工作。

If you delete all existing apps you have deployed to this emulator and try again that may work.

更新


  1. 做不到这一点我将创建一个全新的虚拟设备,并确保您的API级别正确设置为你的应用需要。

  1. Failing that I would create a brand new virtual device and make sure your API level is set correctly to what your app requires.

尝试使用Visual Studio的Android模拟器,它的作品真的很好,这是我使用。

Try using the Visual Studio Android Emulator, it works really well and it is what I use.

这篇关于无法加载memtrack在Xamarin.Forms(没有这样的文件或目录)错误的Visual Studio 2015年的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆