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?
Add multiDexEnabled = true in your default Config
Add implementation com.android.support:multidex:2.0.1 in your dependencies
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.