Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] Building android service jar

I can't find the android service jar file in the downloads section so I assume I have to build it from source. Does anyone have a recent set of the client and android service jar files which I can use to develop an android application as the build looks broken at the moment?

Or can anyone give any guidance on how to build the android service?

I have built the mqttv3 client using mvn clean install which gives me a jar file:
org.eclipse.paho.client.mqttv3-1.0.0.jar

I then copyed this to org.eclipse.paho.mqtt.java/org.eclipse.paho.android.service/org.eclipse.paho.android.service/libs
and tried to build using ant debug

I end up with the following errors:
-compile:
[javac] Compiling 15 source files to /home/simon/xsi_workspace/org.eclipse.paho.mqtt.java/org.eclipse.paho.android.service/org.eclipse.paho.android.service/bin/classes [javac] /home/simon/xsi_workspace/org.eclipse.paho.mqtt.java/org.eclipse.paho.android.service/org.eclipse.paho.android.service/src/org/eclipse/paho/android/service/MqttTokenAndroid.java:27: error: MqttTokenAndroid is not abstract and does not override abstract method getResponse() in IMqttToken
    [javac] class MqttTokenAndroid implements IMqttToken {
    [javac] ^
[javac] /home/simon/xsi_workspace/org.eclipse.paho.mqtt.java/org.eclipse.paho.android.service/org.eclipse.paho.android.service/src/org/eclipse/paho/android/service/MqttDeliveryTokenAndroid.java:25: error: MqttDeliveryTokenAndroid is not abstract and does not override abstract method getResponse() in IMqttToken
    [javac] class MqttDeliveryTokenAndroid extends MqttTokenAndroid
    [javac] ^
    [javac] 2 errors





Back to the top