许多设备中出现的屏幕失真(黑线)

时间:2012-08-01 16:01:35

标签: android

enter image description here

我的设备通过USB线连接到PC很长时间了。当我进入我的应用程序并按下屏幕时,我会看到图像中的黑线。我检查了我的ADB日志

08-01 18:11:57.170: I/InputReader(533): Touch event's action is 0x0 (deviceType=0) [pCnt=1, pending(waiting finished signal)=0, s=0.522 ]
08-01 18:11:57.170: I/InputDispatcher(533): Delivering touch to current input target: action: 0x0
08-01 18:11:57.170: I/InputDispatcher(533): Delivering touch to current input target: action: 0x0
08-01 18:11:57.170: I/InputDispatcher(533): Delivering touch to current input target: action: 0x0
08-01 18:11:57.190: E/memalloc(9818): clean_buffer: ION_IOC_CLEAN_INV_CACHES failed with error - Invalid argument
08-01 18:11:57.190: E/msm8960.gralloc(9818): cannot flush handle 0x83c7c8 (offs=0 len=398000, flags = 0xa8) err=Invalid argument
08-01 18:11:57.240: E/memalloc(9818): clean_buffer: ION_IOC_CLEAN_INV_CACHES failed with error - Invalid argument
08-01 18:11:57.240: E/msm8960.gralloc(9818): cannot flush handle 0x83c7c8 (offs=0 len=398000, flags = 0xa8) err=Invalid argument
08-01 18:11:57.280: E/memalloc(9818): clean_buffer: ION_IOC_CLEAN_INV_CACHES failed with error - Invalid argument
08-01 18:11:57.280: E/msm8960.gralloc(9818): cannot flush handle 0x83c7c8 (offs=0 len=398000, flags = 0xa8) err=Invalid argument
08-01 18:11:57.300: I/InputReader(533): Touch event's action is 0x1 (deviceType=0) [pCnt=1, pending(waiting finished signal)=1, s=]
08-01 18:11:57.300: I/InputDispatcher(533): Delivering touch to current input target: action: 0x1
08-01 18:11:57.300: I/InputDispatcher(533): Delivering touch to current input target: action: 0x1
08-01 18:11:57.300: I/InputDispatcher(533): Delivering touch to current input target: action: 0x1
08-01 18:11:57.610: I/InputReader(533): Touch event's action is 0x0 (deviceType=0) [pCnt=1, pending(waiting finished signal)=0, s=0.523 ]
08-01 18:11:57.610: I/InputDispatcher(533): Delivering touch to current input target: action: 0x0
08-01 18:11:57.610: I/InputDispatcher(533): Delivering touch to current input target: action: 0x0
08-01 18:11:57.610: I/InputDispatcher(533): Delivering touch to current input target: action: 0x0
08-01 18:11:57.620: E/memalloc(9818): clean_buffer: ION_IOC_CLEAN_INV_CACHES failed with error - Invalid argument
08-01 18:11:57.620: E/msm8960.gralloc(9818): cannot flush handle 0x83c7c8 (offs=0 len=398000, flags = 0xa8) err=Invalid argument
08-01 18:11:57.670: E/memalloc(9818): clean_buffer: ION_IOC_CLEAN_INV_CACHES failed with error - Invalid argument
08-01 18:11:57.670: E/msm8960.gralloc(9818): cannot flush handle 0x83c7c8 (offs=0 len=398000, flags = 0xa8) err=Invalid argument
08-01 18:11:57.710: E/memalloc(9818): clean_buffer: ION_IOC_CLEAN_INV_CACHES failed with error - Invalid argument
08-01 18:11:57.710: E/msm8960.gralloc(9818): cannot flush handle 0x83c7c8 (offs=0 len=398000, flags = 0xa8) err=Invalid argument
08-01 18:11:57.740: I/InputReader(533): Touch event's action is 0x1 (deviceType=0) [pCnt=1, pending(waiting finished signal)=0, s=]
08-01 18:11:57.740: I/InputDispatcher(533): Delivering touch to current input target: action: 0x1
08-01 18:11:57.740: I/InputDispatcher(533): Delivering touch to current input target: action: 0x1
08-01 18:11:57.740: I/InputDispatcher(533): Delivering touch to current input target: action: 0x1

正如在日志系统中试图做“memalloc”“gralloc”!!不确定有什么问题!!请帮忙

使用的设备:三星Galaxy S3

1 个答案:

答案 0 :(得分:1)

这似乎是设备端的问题。这里变量的变量是我正确的设备吗?两个设备上的代码是相同的(如果我错了,请纠正我),所以关键是要查找S2和S3之间的不同之处(即屏幕密度,显示,api级别)。所以这就是我要做的事情:在另一部手机上试试你的应用程序(可能是你的好友的手机或其他什么),看看会发生什么。而不是试图找到手机的系统属性之间的相似性,试图拼凑出错误的原因。我希望这个帮助能祝你好运!似乎S3正在发生一些事情。我今天才发现这个question。看看this也是