错误打开跟踪文件:没有这样的文件或目录(2) [英] error opening trace file: No such file or directory (2)

查看:293
本文介绍了错误打开跟踪文件:没有这样的文件或目录(2)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到上述错误:

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

error opening trace file: No such file or directory (2)

当我跑我在模拟器Android应用程序。谁能告诉我什么可能是可能的原因?

when I run my android application on the emulator. Can someone tell me what could be the possible reason for this?

我使用Android的SDK-20及以下行添加到AndroidManifest.xml中

I am using android-sdk-20 and below lines are added to AndroidManifest.xml

<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="15" />

我还加了一行:

I have also added the line:

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

因为我觉得可能有一些问题写入SD卡。

since I thought that there may be some issue with writing to the sd card.

推荐答案

这是因为你还没有安装的minSdkVersion或targetSdkVersion在你的电脑。现在,我已经测试过了。

It happens because you have not installed the minSdkVersion or targetSdkVersion in you’re computer. I've tested it right now.

例如,如果你在你的Manifest.xml那些行:

For example, if you have those lines in your Manifest.xml:

<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />

和您仅安装在您的计算机API17,它会报告你一个错误。如果你想测试它,尝试安装其他的API版本(在这种情况下,API 8)。

And you have installed only the API17 in your computer, it will report you an error. If you want to test it, try installing the other API version (in this case, API 8).

即便如此,它不是一个重要的错误。这并不意味着您的应用程序是错误的。

Even so, it's not an important error. It doesn't mean that your app is wrong.

对不起我的前妻pression。英语不是我的语言。 再见!

Sorry about my expression. English is not my language. Bye!

这篇关于错误打开跟踪文件:没有这样的文件或目录(2)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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