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

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

  • 相关阅读:
    Bzoj1072--Scoi2007排列perm
    Bzoj1041--Haoi2008圆上的整点
    Bzoj3932--Cqoi2015任务查询系统
    HDU 1024 Max Sum Plus Plus(DP)
    HDU 1029 Ignatius and the Princess IV
    【noip模拟题】数列
    Hello World
    vue-router 进阶
    vue2.0 源码解读(二)
    vue2.0 源码解读(一)
  • 原文地址:https://www.cnblogs.com/ssqqhh/p/5186025.html
Copyright © 2011-2022 走看看