weird exceptions under android 4.0 with eclipse

前端 未结 3 2123
悲&欢浪女
悲&欢浪女 2020-12-16 05:30

when i using eclipse to develop my android project , the logCat always print these kinds of warnings , but the app runs ok , can any one tell me what has happened.



        
相关标签:
3条回答
  • 2020-12-16 05:31

    The 3.0 kernel which ICS is supposed to run on contains a netfilter module: xt_qtaguid

    This runs in the background and processes network usage for all PIDs and renders a stat report to the proc fs here: /proc/net/xt_qtaguid/stats

    You'll notice in the error above: Caused by: java.io.FileNotFoundException: /proc/net/xt_qtaguid/stats: open failed: ENOENT (No such file or directory)

    This is probably because you probably are missing this module in your kernel.

    It can be backported to the 2.6.35 kernel with a little work: https://github.com/Hashcode/android_device_motorola_solana/tree/ics/modules/netfilter/xt_qtaguid

    0 讨论(0)
  • 2020-12-16 05:40

    @Drax: Actually, you're not correct there, that is dependent on the kernel version used, in fact, if you're on a older kernel, such as 2.6.35 or thereabouts, you will definitely get this error as the netfilter (part of Linux's iptables netfilter) in Kernel 3 has this feature that is not currently backported to the older kernels.

    0 讨论(0)
  • 2020-12-16 05:50

    This is the Error Regarding the network connection framework. since you are using Emulator i guess. and you are not connected to the any internet network, so the framework is trying to get the state of the network and it's not finding anyone and failing to connect

    0 讨论(0)
提交回复
热议问题