-
Notifications
You must be signed in to change notification settings - Fork 267
Closed
Description
Hi,
I'm trying to connect to my local spring websocket server but it throws me the error below:
java.lang.IncompatibleClassChangeError: The method 'void ua.naiksoftware.stomp.WebSocketsConnectionProvider.ua_naiksoftware_stomp_WebSocketsConnectionProvider_lambda$getLifecycleReceiver$3(rx.Subscriber)' was expected to be of type direct but instead was found to be of type virtual (declaration of 'java.lang.reflect.ArtMethod' appears in /system/framework/core-libart.jar)
my build.gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 24
buildToolsVersion "24.0.0"
defaultConfig {
applicationId "app.id.com"
minSdkVersion 16
targetSdkVersion 24
versionCode 1
versionName "1.0"
jackOptions {
enabled true
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
targetCompatibility 1.8
sourceCompatibility 1.8
}
}
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:24.0.0'
compile 'com.android.support:design:24.0.0'
compile 'com.android.support:recyclerview-v7:24.0.0'
compile 'com.squareup.retrofit2:retrofit:2.0.0-beta4'//for api call
compile 'com.squareup.retrofit2:converter-gson:2.0.0-beta4'//serialize/deserialize json data
compile 'com.squareup.okhttp3:logging-interceptor:3.0.1'//logging for retrofit
compile 'org.java-websocket:Java-WebSocket:1.3.0'
compile 'com.github.NaikSoftware:StompProtocolAndroid:1.0.11'
}
Metadata
Metadata
Assignees
Labels
No labels