Since yesterday my app works not because of this error. I've been trying to find a solution but I have not found anything that has been achieved. For all I've modified my build.gradle to been to add two new libraries, but do not think that's the reason for the failure.

从昨天开始,我的应用程序的工作不是因为这个错误。我一直在寻找一个解决方案,但我没有找到任何已经实现的方案。因为我已经修改了我的构建。gradle将添加两个新的库,但不认为这是失败的原因。

build.gradle:

build.gradle:

compile 'com.android.support:appcompat-v7:23.1.0'
compile 'com.android.support:recyclerview-v7:23.1.0'
compile 'com.android.support:cardview-v7:23.1.0'
compile 'com.android.support:design:23.1.0' // http://android-developers.blogspot.com.es/2015/05/android-design-support-library.html
compile 'com.android.support:palette-v7:23.1.0'

error log:

错误日志:

java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v7/internal/widget/TintManager;

Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v7.internal.widget.TintManager" on path: DexPathList

The error occurs in all fragments where I have a TabLayout.

错误发生在我有一个TabLayout的所有片段中。

If any have idea please help me, Thanks in advance.

如果有什么想法请帮助我,谢谢。

3 个解决方案

#1


3

'com.android.support:appcompat-v7:23.3.0'

'com.android.support:design:23.3.0'

You need to make the appcompat and the design the same Version.It doesn't mean you should make these same with the buildToolsVersion.My buildToolsVersion is "23.0.3".

您需要使appcompat和设计相同的版本。这并不意味着你应该用buildToolsVersion来做这些。我的buildToolsVersion“23.0.3”。

更多相关文章

  1. Libgdx设置UI在新GWT项目中出现2个意外错误
  2. E/JavaBinder:FAILED BINDER TRANSACTION错误解决+RadioGroup调用
  3. 错误:未使用的导入语句 - 导入android.widget.AdapterView.OnItem
  4. Android的Intel XDK构建错误
  5. 王家林最受欢迎的一站式云计算大数据和移动互联网解决方案课程 V
  6. Android Studio错误“AppCompat不支持主题”[重复]
  7. 在网页程序或Java程序中调用接口实现短信猫收发短信的解决方案
  8. ubuntu (16.04) server 英文原版 添加中文语言支持 消除java 程
  9. 错误:警告:无法从javaldx读取路径

随机推荐

  1. Android的RelativeLayout的layout_height
  2. Android应用程序内存分析-Memory Analysi
  3. -如何将Eclipse中的项目迁移到Android St
  4. Android(安卓)实例教程
  5. 高焕堂
  6. Android 基于google Zxing实现二维码、条
  7. Android Camera
  8. 2011年Android产品趋势
  9. Android EditText 一些属性设置
  10. EditText的使用