Wie erstelle ich ein Konto aus Smack 4.1

Ich versuche, ein Konto von Smack für Android auf jabber.at zu erstellen. Hier ist mein Code:

XMPPTCPConnectionConfiguration conf= XMPPTCPConnectionConfiguration.builder()
                                .setServiceName("jabber.at")
                                .build();
XMPPTCPConnection connection = new XMPPTCPConnection(conf);

connection.addConnectionListener(xmppConnectionListener);
connection.connect();

AccountManager accountManager = AccountManager.getInstance(connection);
Map<String, String> map = new HashMap<String, String>();
map.put("username", usr);
map.put("password", pwd);
map.put("email", email);
accountManager.createAccount(usr, pwd, map);

Ich habe einen Fehler erhalten:

W/System.err﹕ org.jivesoftware.smack.packet.XMPPError@2beba168
W/System.err﹕ at org.jivesoftware.smack.PacketCollector.nextResultOrThrow(PacketCollector.java:217)
W/System.err﹕ at org.jivesoftware.smack.PacketCollector.nextResultOrThrow(PacketCollector.java:198)

Ich habe mit und ohne Map den gleichen Fehler versucht. Laut Mathias Ertl von jabber.at ist es möglich, Accounts remote anzulegen, also mache ich irgendwo was falsch. Irgendeine Idee

Antworten auf die Frage(2)

Ihre Antwort auf die Frage