We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android4.3系统
java.lang.RuntimeException: Unable to start activity ComponentInfo{me.jessyan.mvparms.demo/me.jessyan.mvparms.demo.mvp.ui.activity.UserActivity}: java.lang.RuntimeException: Failed to call observer method at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2214) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2264) at android.app.ActivityThread.access$600(ActivityThread.java:144) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1259) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5136) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.RuntimeException: Failed to call observer method at androidx.lifecycle.ClassesInfoCache$MethodReference.invokeCallback(ClassesInfoCache.java:226) at androidx.lifecycle.ClassesInfoCache$CallbackInfo.invokeMethodsForEvent(ClassesInfoCache.java:194) at androidx.lifecycle.ClassesInfoCache$CallbackInfo.invokeCallbacks(ClassesInfoCache.java:185) at androidx.lifecycle.ReflectiveGenericLifecycleObserver.onStateChanged(ReflectiveGenericLifecycleObserver.java:36) at androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent(LifecycleRegistry.java:361) at androidx.lifecycle.LifecycleRegistry.forwardPass(LifecycleRegistry.java:300) at androidx.lifecycle.LifecycleRegistry.sync(LifecycleRegistry.java:339) at androidx.lifecycle.LifecycleRegistry.moveToState(LifecycleRegistry.java:145) at androidx.lifecycle.LifecycleRegistry.handleLifecycleEvent(LifecycleRegistry.java:131) at androidx.lifecycle.ReportFragment.dispatch(ReportFragment.java:123) at androidx.lifecycle.ReportFragment.onActivityCreated(ReportFragment.java:76) at android.app.Fragment.performActivityCreated(Fragment.java:1703) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:903) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1057) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1039) at android.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:1840) at android.app.Activity.performCreate(Activity.java:5136) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2178) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2264) at android.app.ActivityThread.access$600(ActivityThread.java:144) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1259) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5136) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.VerifyError: okhttp3/internal/platform/Android10Platform at okhttp3.internal.platform.Platform.findPlatform(Platform.java:201) at okhttp3.internal.platform.Platform.<clinit>(Platform.java:78) at okhttp3.OkHttpClient.newSslSocketFactory(OkHttpClient.java:292) at okhttp3.OkHttpClient.<init>(OkHttpClient.java:258) at okhttp3.OkHttpClient$Builder.build(OkHttpClient.java:1040) at com.jess.arms.di.module.ClientModule.provideClient(ClientModule.java:132) at com.jess.arms.di.module.ClientModule_ProvideClientFactory.provideClient(ClientModule_ProvideClientFactory.java:68) at com.jess.arms.di.module.ClientModule_ProvideClientFactory.get(ClientModule_ProvideClientFactory.java:53) at com.jess.arms.di.module.ClientModule_ProvideClientFactory.get(ClientModule_ProvideClientFactory.java:14) at dagger.internal.DoubleCheck.get(DoubleCheck.java:47) at com.jess.arms.di.module.ClientModule_ProvideRetrofitFactory.get(ClientModule_ProvideRetrofitFactory.java:48) at com.jess.arms.di.module.ClientModule_ProvideRetrofitFactory.get(ClientModule_ProvideRetrofitFactory.java:13) at dagger.internal.DoubleCheck.get(DoubleCheck.java:47) at com.jess.arms.integration.RepositoryManager.obtainRetrofitService(RepositoryManager.java:96) at me.jessyan.mvparms.demo.mvp.model.UserModel.getUsers(UserModel.java:63) at me.jessyan.mvparms.demo.mvp.presenter.UserPresenter.request
The text was updated successfully, but these errors were encountered:
这个问题解决了。okhttp3的版本3.12.9改成3.12.0
Sorry, something went wrong.
No branches or pull requests
Android4.3系统
The text was updated successfully, but these errors were encountered: