当前位置:   article > 正文

Failed resolution of: Landroid/support/v7/internal/widget/TintManager_failed resolution of: landroid/support/v7/widget/t

failed resolution of: landroid/support/v7/widget/tintmanager;
  1. java.lang.IllegalStateException: Fatal Exception thrown on Scheduler.Worker thread.
  2. at rx.android.schedulers.LooperScheduler$ScheduledAction.run(LooperScheduler.java:114)
  3. at android.os.Handler.handleCallback(Handler.java:815)
  4. at android.os.Handler.dispatchMessage(Handler.java:104)
  5. at android.os.Looper.loop(Looper.java:224)
  6. at android.app.ActivityThread.main(ActivityThread.java:5958)
  7. at java.lang.reflect.Method.invoke(Native Method)
  8. at java.lang.reflect.Method.invoke(Method.java:372)
  9. at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1113)
  10. at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:879)
  11. Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v7/internal/widget/TintManager;
  12. at android.support.design.widget.TabLayout$TabView.<init>(TabLayout.java:1145)
  13. at android.support.design.widget.TabLayout.createTabView(TabLayout.java:635)
  14. at android.support.design.widget.TabLayout.addTabView(TabLayout.java:669)
  15. at android.support.design.widget.TabLayout.addTab(TabLayout.java:365)
  16. at android.support.design.widget.TabLayout.addTab(TabLayout.java:340)
  17. at android.support.design.widget.TabLayout.setTabsFromPagerAdapter(TabLayout.java:624)
  18. at android.support.design.widget.TabLayout.setupWithViewPager(TabLayout.java:595)
  19. at com.ecej.ehome.ui.AppointmentTimeActivity.initData(AppointmentTimeActivity.java:145)
  20. at com.ecej.ehome.ui.AppointmentTimeActivity.access$100(AppointmentTimeActivity.java:38)
  21. at com.ecej.ehome.ui.AppointmentTimeActivity$1.requestSuccess(AppointmentTimeActivity.java:109)
  22. Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v7.internal.widget.TintManager" on path: DexPathList[[zip file "/data/app/com.ecej.ui-2/base.apk"],nativeLibraryDirectories=[/data/app/com.ecej.ui-2/lib/arm, /vendor/lib, /system/lib]]
  23. at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
  24. ....
  25. at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
  26. ... 23 more
  27. Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
错误原因:依赖包重复

在关联库lib中已经引入v7包的20.0.0版本


由于coding过程中,页面新添加v7包下的Theme,导致在Module:app的gradle文件中自动重复引入了v7的23.4.0版本,与lib中重复


解决:去掉Module:app的gradle文件中的重负依赖即可;

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小丑西瓜9/article/detail/153141
推荐阅读
相关标签
  

闽ICP备14008679号