smack-core does not contain XMPPTCPConnection, smack-tcp does, you may also want to add smack-resolver-javax. And I really recommend using a build system that's able to resolve maven dependencies. So you just have to declare a dependency on smack-java7 and smack-tcp and be done. Otherwise you may encounter additional compile and runtime errors.
↧