안드로이드에 smack 라이브러리가있는 openfire 서버에 연결하려고합니다. 로그인 방법에 오류가 발생했습니다.로그인 방법이 xmpp에서 인식되지 않습니다.
public void performLogin(String username, String password) throws XMPPException {
if (connection!=null && connection.isConnected()) {
connection.login(username, password);
}
}
오류가 문제가 여기에 무엇을
The method login(String, String) from the type XMPPConnection refers to the missing type SaslException
입니까?
환경에 대해 자세히 알려주지 않으면 알려주지 못합니다. Android에서 Smack 버전을 사용 하시나요? – Flow
smack_4_0_4가 사용 중이고 openfire가 windows에 설치되었습니다 – kavuru
Smack 또는 aSmack? – Flow