在Android Studio 3.6.1中获取java.lang.NoClassDefFoundError:com/android/resources/ResourceFolderType [英] Getting java.lang.NoClassDefFoundError: com/android/resources/ResourceFolderType in Android Studio 3.6.1
问题描述
在运行项目之前,有没有人见过这个
has anyone seen this before when running a project
Error:Module 'Android' production: java.lang.NoClassDefFoundError: com/android/resources/ResourceFolderType
我在Android Studio 3.6.1上使用eclipse编译器在Google上没有显示有用的内容
I'm using the eclipse compiler on Android Studio 3.6.1 Nothing useful showing on google
推荐答案
Jar文件冲突.
如果您使用的是类似IDE的想法.您可以尝试使用名为Maven Helper的插件来找出导致此错误的依赖性.
Jar file conflict.
If you are using IDE like idea. You can try a plugin named Maven Helper to find out which dependence rise up this error.
同一罐子同时在您的类路径中有两个版本.新版本的Class调用旧版本的Class的方法,不幸的是,旧版本没有该方法,然后出现错误.
The same jar has two versions in your class path at the same time. The new version's Class invoke the old version's Class's method, Unfortunately, the old version dose not have that method, then rise up the error.
这篇关于在Android Studio 3.6.1中获取java.lang.NoClassDefFoundError:com/android/resources/ResourceFolderType的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!