-2

ここに画像の説明を入力

私のデバイスは、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」を実行しようとしています!! 何が悪いのかわからない!!助けてください

使用端末:Samsung Galaxy S3

4

1 に答える 1

1

これはデバイス側の問題のようです。ここで変化する変数はデバイスですよね?コードは両方のデバイスで同じなので (間違っていたら訂正してください)、重要なのは S2 と S3 の違い (つまり、画面密度、ディスプレイ、API レベル) を探すことです。だからここに私がすることです:あなたのアプリを別の電話(おそらくあなたの友人の電話か何か)で試してみて、何が起こるか見てください. 電話のシステムプロパティ間の類似点を見つけて、エラーの原因をつなぎ合わせようとするよりも. これがお役に立てば幸いです。S3で何かが起こっているようです。今日、この質問を見つけました。こちらもご覧ください

于 2012-08-13T02:07:29.643 に答える