1、疑惑:

程序运行起来的时候日志总是显示下面这个错误,但是不影响程序的正常进行,我是用真机来测试的,android4.4.4(API17)。

02-11 14:55:03.629 15525-15525/? E/cutils: to chown(/mnt/shell/emulated/0, 0, 0)
02-11 14:55:03.629 15525-15525/? E/cutils: to chown(/mnt/shell/emulated/obb, 0, 0)
02-11 14:55:03.629 15525-15525/? E/cutils: to chown(/storage/emulated/0/Android, 0, 0)
02-11 14:55:03.631 15525-15525/? E/cutils: to chown(/storage/emulated/0/Android/obb, 0, 0)
02-11 14:55:03.655 15525-15525/com.example.sqh.progressbar E/Trace: error opening trace file: No such file or directory (2)
02-11 14:55:03.816 15525-15525/com.example.sqh.progressbar E/TextView: get resource from application failed.
02-11 14:55:03.886 15525-15525/com.example.sqh.progressbar E/TextView: get resource from application failed.
02-11 14:55:03.890 15525-15525/com.example.sqh.progressbar E/TextView: get resource from application failed.
02-11 14:55:03.955 15525-15525/com.example.sqh.progressbar E/linker: load_library(linker.cpp:759): library "libmaliinstr.so" not found
02-11 14:55:03.957 15525-15525/com.example.sqh.progressbar E/: appName=com.example.sqh.progressbar, acAppName=com.android.cts.openglperf
02-11 14:55:03.957 15525-15525/com.example.sqh.progressbar E/: 0
02-11 14:55:03.957 15525-15525/com.example.sqh.progressbar E/: appName=com.example.sqh.progressbar, acAppName=com.android.browser
02-11 14:55:03.957 15525-15525/com.example.sqh.progressbar E/: 0

2、解决:

网上找到的解释是:开发用的API和调试机的API版本不一致造成的,我试了一下用android自带的虚拟机进行测试,发现就没有出现这样的错误了。

但是具体为什么用真机测试未出现这个问题我也不知道怎么解决,如果有大神看到了可以跟我解释下。。

android学习——error opening trace file: No such file or directory (2)的更多相关文章

  1. 【Android】error opening trace file: No such file or directory (2)

    1.问题描述: 运行报错: 12-25 13:35:32.286: E/Trace(1202): error opening trace file: No such file or directory ...

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

    1.疑惑: 程序运行起来的时候日志总是显示下面这个错误,但是不影响程序的正常进行,我是用真机来测试的,android4.4.4(API17). 02-11 14:55:03.629 15525-155 ...

  3. 安卓开发error opening trace file: No such file or directory (2)报错原因

    error opening trace file: No such file or directory (2) 这个问题的出现是因为运行的测试机android系统版本和项目api不一致导致. 改成一样 ...

  4. error opening trace file: No such file or directory (2) ,can't load transform_config.xml

    出现这个错误:error opening trace file: No such file or directory (2) ,can't load transform_config.xml 是因为没 ...

  5. E/Trace: error opening trace file: No such file or directory

    E/Trace: error opening trace file: No such file or directory (2) 有这一个错误,想了一下,然后发现是 AdroidManifest.xm ...

  6. Android Path路径设置,针对error opening trace file:No such file or directory

    对于android的开发者来说,首先要做的就是环境变量的配置.学习过java的人都知道,java是须要配置环境变量的,那么android开发是否也须要我们配置环境变量呢?当然,安卓的环境变量须要我们配 ...

  7. android 基础项目及开发出现:error opening trace file: No such file or directory错误解决

    本身这个错误不影响运行,但是看着烦啊.解决方案几种如下: 1.xml标签不完整或者未关闭,常有的事.Eclipse并不是所有的xml标记都检查,单双标记什么的. 2.有人说,据说是 android a ...

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

    想看sharepreference保存的键值对的数据,用到单元测,运行函数总是报这种错,且看不到file explorer-->data>对应工程包的xml文件:

  9. Android 学习笔记之数据存储SharePreferenced+File

    学习内容: Android的数据存储.... 1.使用SharedPreferences来保存和读取数据... 2.使用File中的I/O来完成对数据的存储和读取...   一个应用程序,经常需要与用 ...

随机推荐

  1. yum 安装包的用法

    最近刚爆出linux下glibc有重大漏洞,修复方案为升级glibc库 RHEL/CentOS下一键即可修复 : sudo yum update glibc .或者如果本地有rpm包 直接 rpm - ...

  2. Maxwell’s Equations

    A=cos(pi*x-pi/2)i+sin(pi*x)j 正电荷形成的电场 负电荷形成的电场   正负电荷形成的电场 无限长导线上均匀分布的正电荷 电场 均匀分布电荷的平面 电场 电荷均匀分布的球面形 ...

  3. NUL 与 NULL

    NUL 与 NULL 在C语言中,字符串表示为字符的数组.字符串最后一个字符为空字符 ('\0'),官方将其定义为 NUL ,而 NULL 是一个宏,其定义如下: #define NULL ((voi ...

  4. 对Spring的IoC和DI最生动的解释

    首先想说说IoC(Inversion of Control,控制倒转).这是spring的核心,贯穿始终.所谓IoC,对于spring框架来说,就是由spring来负责控制对象的生命周期和对象间的关系 ...

  5. 博友的 编写高质量代码 改善java程序的151个建议

    编写高质量代码 改善java程序的151个建议 http://www.cnblogs.com/selene/category/876189.html

  6. 泛型类型的协变(covariant)和逆变

    官网:http://msdn.microsoft.com/zh-cn/library/dd799517.aspx 原文链接:http://book.51cto.com/art/201112/30857 ...

  7. 混合语言编程:启用CLR(公共语言运行时编译)让C#调用C++

    前言 关于混合C#和C++的编程方式,本人之前写过一篇博客(参见混合语言编程:C#使用原生的Directx和OpenGL),在之前的博客中,介绍了在C#的Winform和WPF下使用原生的Direct ...

  8. TCP&UDP协议小结

    TCP和UDP 传输层功能 网络安全 Tcp可靠性 Tcp流控 Tcp拥塞控制 Tcp运输连接管理 一个网页可能很大,一个数据包传不过来,就需要分段传输. 网络可能拥塞,某段可能丢失.那必须有人监管, ...

  9. php基础06:运算符

    <?php //1.PHP 字符串运算符: 串接 $str1 = "gao"; $str1 = $str1."xiong"; echo $str1; ec ...

  10. The specified LINQ expression contains references to queries that are associated with different contexts

    今天在改写架构的时候,遇到这么个错误.当时单从字面意思,看上去错误是由join的两个不同的表来源不一致引起的. 其中的videoResult和deerpenList均来自与同一个edmx文件,所以两个 ...