zoukankan      html  css  js  c++  java
  • android——error opening trace file: No such file or directory (2)


    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自带的虚拟机进行测试,发现就没有出现这样的错误了。

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

  • 相关阅读:
    java将文件夹md5为名的图片与数据库查询对应md5后导入相应图片到某分类下
    java 导入图片时忘了导入诊断报告,查询报告并将缺失的报告插入对应分类图片中
    安装nginx
    python,opencv,8位图转24位图
    python 笔记
    python,opencv图像增强
    问卷星的使用教程
    考研数据结构复习随笔-基本概念(一)
    按字寻址 按字节寻址
    在数据结构中用顺序栈解决括号匹配问题
  • 原文地址:https://www.cnblogs.com/ssqqhh/p/5186025.html
Copyright © 2011-2022 走看看