23

has anyone seen this before when running a project

Error:Module 'Android' production: java.lang.NoClassDefFoundError: com/android/resources/ResourceFolderType

I'm using the eclipse compiler on Android Studio 3.6.1 Nothing useful showing on google

Biscuit
  • 4,840
  • 4
  • 26
  • 54
siman
  • 373
  • 2
  • 5

1 Answers1

1

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.

Example:

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.

Zhefang Wu
  • 19
  • 6