gpt4 book ai didi

android - WARN/InputManagerService(59) : Window already focused, 忽略 : com. android.internal.view.IInputMethodClient$Stub$Proxy@44f8eb98 的焦点增益

转载 作者:行者123 更新时间:2023-11-30 04:38:44 26 4
gpt4 key购买 nike

我在建立 facebook android sdk 连接时遇到了这个问题..当我运行代码时,我在 logcat 上收到此错误消息:

 WARN/InputManagerService(59): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@44f8eb98

这是我的代码,我已经将 facebook android sdk 引用到我的项目中:

package com.conn;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import com.facebook.android.*;
import com.facebook.android.Facebook.*;

public class MyGreatActivity extends Activity {

Facebook facebook = new Facebook("YOUR_APP_ID");

/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

facebook.authorize(this, new String[] { "email", "read_stream" },
new DialogListener() {
@Override
public void onComplete(Bundle values) {}

@Override
public void onFacebookError(FacebookError error) {}

@Override
public void onError(DialogError e) {}

@Override
public void onCancel() {}
});
}

@Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);

facebook.authorizeCallback(requestCode, resultCode, data);
}


}

请帮忙

最佳答案

有时此警告会无缘无故地出现在日志中,您可以忽略它(另请参阅 this bugreport)。

但是,如果您遇到问题并且您的代码无法正常运行,您应该检查 this postthis post寻求解决方案

关于android - WARN/InputManagerService(59) : Window already focused, 忽略 : com. android.internal.view.IInputMethodClient$Stub$Proxy@44f8eb98 的焦点增益,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6372315/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com