Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
756 views
in Technique[技术] by (71.8m points)

cordova - Console error "error opening trace file: No such file or directory (2)" in Android monitor when running on actual device

My main question is: what does this error mean? Should I worry about it? Should I ignore it?

Secondarily, what is the cause of this error and how might I fix it? I have certainly seen this question: error opening trace file: No such file or directory (2) , but "reinstall everything" is a rather blunt solution. And in cases where you, unfortunately, are inheriting a project that doesn't have clear from-scratch installation steps, may not be feasible.

Is this a generic error that could indicate any number of missing files, or is it talking about a very specific "trace file" in a well known location?

Other info: I'm running on a Galaxy S2, the Tag is "Trace", and it is the very first log that is written for the application. Looking at all messages, it seems mine is not the only application logging this error. I get the feeling it is a false alarm of some kind.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

The error message comes from the systrace code. It indicates that your device doesn't support systrace tracing. You can ignore it.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...