kobbycoder

Android Smack MessageEventManager not compiling

Discussion created by kobbycoder on Jun 16, 2015
Latest reply on Dec 19, 2016 by Aditya

I am using smack API with openfire server to make an android app. I am trying to implement a MessageEventManager to my app so it will tell me if the message was delivered or not though when i try to declare it a MessageEventManager, it is not compiling and tells me to create that class, What can i do? i have the following dependencies in my gradle:

 

dependencies {
  compile fileTree
(include: ['*.jar'], dir: 'libs')
  compile
'com.android.support:appcompat-v7:22.1.1'
  compile
'org.igniterealtime.smack:smack-android:4.1.0-rc1'
  compile
'org.igniterealtime.smack:smack-tcp:4.1.0-rc1'
  compile
'org.igniterealtime.smack:smack-im:4.1.0-rc1'
  compile
'org.igniterealtime.smack:smack-extensions:4.1.0-rc1'

  compile 'org.igniterealtime.smack:smack-android-extensions:4.1.0-rc1'

}

 

Do i need an extra dependency for it? I would appreciate any help Thanks.

Outcomes