2 qq 32256907 qq_32256907 于 2016.03.17 12:24 提问

新闻app获取新闻,获取不了,输出的日志在下边麻烦大神看看

java写的服务端接口,tomcat,mysql都能正常运行,数据库里有信息。
03-17 10:55:13.347: E/ActivityThread(26507): mtprof entry can not be found
03-17 10:55:13.347: E/ActivityThread(26507): java.io.FileNotFoundException: /proc/mtprof/status: open failed: ENOENT (No such file or directory)
03-17 10:55:13.347: E/ActivityThread(26507): at libcore.io.IoBridge.open(IoBridge.java:496)
03-17 10:55:13.347: E/ActivityThread(26507): at java.io.FileInputStream.(FileInputStream.java:76)
03-17 10:55:13.347: E/ActivityThread(26507): at java.io.FileInputStream.(FileInputStream.java:103)
03-17 10:55:13.347: E/ActivityThread(26507): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1494)
03-17 10:55:13.347: E/ActivityThread(26507): at android.os.Handler.dispatchMessage(Handler.java:111)
-17 10:55:13.347: E/ActivityThread(26507): at android.os.Looper.loop(Looper.java:194)
03-17 10:55:13.347: E/ActivityThread(26507): at android.app.ActivityThread.main(ActivityThread.java:5692)
03-17 10:55:13.347: E/ActivityThread(26507): at java.lang.reflect.Method.invoke(Native Method)
03-17 10:55:13.347: E/ActivityThread(26507): at java.lang.reflect.Method.invoke(Method.java:372)
03-17 10:55:13.347: E/ActivityThread(26507): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
03-17 10:55:13.347: E/ActivityThread(26507): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)
03-17 10:55:13.347: E/ActivityThread(26507): Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
03-17 10:55:13.347: E/ActivityThread(26507): at libcore.io.Posix.open(Native Method)
03-17 10:55:13.347: E/ActivityThread(26507): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
03-17 10:55:13.347: E/ActivityThread(26507): at libcore.io.IoBridge.open(IoBridge.java:482)
03-17 10:55:13.347: E/ActivityThread(26507): ... 10 more
03-17 10:55:13.575: E/GED(26507): Failed to get GED Log Buf, err(0)

5个回答

u013948403
u013948403   2016.03.17 12:42
Royal_lr
Royal_lr   Ds   Rxr 2016.03.17 13:22

路径的问题,,,,,

qq_32256907
qq_32256907 什么路径出问题了
接近 2 年之前 回复
qq_21206775
qq_21206775   2016.03.17 14:02

目录下面没有这个文件,路径问题哦

luochoudan
luochoudan   Ds   Rxr 2016.03.17 15:50

/proc/mtprof/status,看一下它是什么玩意?报错说是你要读写的文件不存在,从文件路径下手,往回找吧。

crazy1235
crazy1235   Ds   Rxr 2016.03.18 10:00
  java.io.FileNotFoundException
fanyanlong1991
fanyanlong1991 路径出现错误了吧!
接近 2 年之前 回复
qq_32256907
qq_32256907 什么意思
接近 2 年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!