Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/209.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
android 4.1.2中的java.lang.NoClassDefFoundError:rx.subscriptions.SerialSubscription_Android_Android Studio_Rx Java_Rx Android - Fatal编程技术网

android 4.1.2中的java.lang.NoClassDefFoundError:rx.subscriptions.SerialSubscription

android 4.1.2中的java.lang.NoClassDefFoundError:rx.subscriptions.SerialSubscription,android,android-studio,rx-java,rx-android,Android,Android Studio,Rx Java,Rx Android,致命异常:main java.lang.NoClassDefFoundError:rx.subscriptions.SerialSubscription 在rx.internal.operators.operatorNerrorResumeNextViaFunction.call(operatorNerrorResumeNextViaFunction.java:87) 在rx.internal.operators.operatorNerrorResumeNextViaFunction.call(

致命异常:main java.lang.NoClassDefFoundError:rx.subscriptions.SerialSubscription

在rx.internal.operators.operatorNerrorResumeNextViaFunction.call(operatorNerrorResumeNextViaFunction.java:87) 在rx.internal.operators.operatorNerrorResumeNextViaFunction.call(operatorNerrorResumeNextViaFunction.java:45) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:46) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) atrx.Observable.subscribe(Observable.java:8759)
在rx.Observable.subscribe(Observable.java:8726)

在应用程序的build.gradle文件中添加compile'io.reactivex:rxjava:1.1.0'依赖项。

是的,我添加了它,如下所示

compile 'io.reactivex:rxandroid:1.1.0'
compile 'io.reactivex:rxjava:1.1.7'

甚至在4.1到4.3中也会出现同样的错误。请阅读关于提问的说明。具体描述你的问题。错误的堆栈跟踪只是其中的一部分。如有必要,提供相关代码和屏幕截图。你的问题解决了吗?还是仍然有一些问题。问题仍然存在。我没有站在我这边解决这个问题。请清理您的项目,然后重新生成它,可能是依赖项未编译。
找不到从方法rx.internal.operators.operators.OperatorNerrorResumeNextViaFunction引用的类“rx.subscriptions.SerialSubscription”。call
是在错误发生之前引发的错误