简体   繁体   中英

When I tried to execute my project on Android studio. It shows following error

When i tried to run my code on android studio. The following error comes:

java.lang.NoClassDefFoundError.com/android/resources/ResourceFolderType

How to resolve this?

  1. Add multiDexEnabled = true in your default Config

  2. Add implementation com.android.support:multidex:2.0.1 in your dependencies

  3. Application class extend MultiDexApplication instead of just Application

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM