Skip to content Skip to sidebar Skip to footer

Androidannotations Rest Sourcehttpmessageconverter Error

I'm trying to use the RestClient of AndroidAnnotations but when I call one of the methods in the client I get the following error: 04-10 10:07:23.624 7528-7528/eu.shareforce.vit

Solution 1:

Found a solution! I had to use different Spring dependencies. I have to use:

compile'org.springframework.android:spring-android-rest-template:1.0.1.RELEASE'

Instead of:

compile'org.springframework:spring-context:4.1.6.RELEASE'compile ('org.springframework:spring-web:4.1.6.RELEASE') {
    exclude group: 'commons-logging', module: 'commons-logging'
}

Post a Comment for "Androidannotations Rest Sourcehttpmessageconverter Error"