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. loop指令

    loop系列的指令有:loop,loope/loopz,loopne/loopnz,它们都是借助于ECX寄存器作为计数来实现循环,每轮循环先ecx自动减1,再来判断ecx值,ecx的自减不会影响OF和 ...

  2. 为TFS配置跨平台的生成服务器Xplat (Ubuntu Linux)

    1. 概述 从TFS 2015开始,微软开始支持跨平台的构建代理.你可以使用TFS的Xplat代理,方便的在基于IOS, Unix和Linux的服务器上搭建生成代理,实现构建.发布等功能.本文档已Ub ...

  3. java lambda小纪

    一个通俗的说法是 :C#委托和Java中实现了 函数式编程的方法,它是函数式编程中的概念,为了更快的处理集合,在Java,c#等静态类型语言中想要引用一个函数的一种方式,(实现了通过封装匿名方法来达到 ...

  4. 写一个ActionFilter检测WebApi接口请求和响应

    我们一般用日志记录每次Action的请求和响应,方便接口出错后排查,不过如果每个Action方法内都写操作日志太麻烦,而且客户端传递了错误JSON或XML,没法对应强类型参数,请求没法进入方法内, 把 ...

  5. hdu-5927 Auxiliary Set(树形dp)

    题目链接: Auxiliary Set Time Limit: 9000/4500 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Othe ...

  6. jquery/js特效代码总结(一):tab切换

    jquery实现tab切换: html代码: <ul class="tabs" id="tabs01"> <li><a href= ...

  7. 如何显示隐藏的Administrator账户

    在Windows XP中,Administrator帐户是终极管理员,如果你创建了其他管理员帐户,那么该帐户就会从欢迎屏幕上被隐藏.这里需要注意的是,仅仅是从欢迎屏幕上被隐藏,该帐户仍然存在.   如 ...

  8. 第20章 DLL高级技术(2)

    20.3 延迟载入DLL 20.3.1延迟载入的目的 (1)如果应用程序使用了多个DLL,那么它的初始化可能比慢,因为加载程序要将所有必需的DLL映射到进程的地址空间.→利用延迟加载可将载入过程延伸到 ...

  9. 每日一语:What is he getting at?

    What is he getting at? 他讲这话是什么意思? 2015-1-12

  10. StaticFileMiddleware中间件如何处理针对文件请求

    StaticFileMiddleware中间件如何处理针对文件请求 我们通过<以Web的形式发布静态文件>和<条件请求与区间请求>中的实例演示,以及上面针对条件请求和区间请求的 ...