NoClassDefFoundError on Calligraphy library

后端 未结 6 610
南笙
南笙 2021-01-01 19:49

After adding compile \'com.android.support:support-v13:21.0.+\' to build.gradle, I had some conflicts on building my app, so I had to add m

6条回答
  •  执笔经年
    2021-01-01 20:14

    If you support API levels under 21, your Application class should extend MultiDexApplication from the support library.

    class MyApplication extends MultiDexApplication
    

    If you do not have a custom Application class, than you should add the MultiDexApplication class to your manifest directly

    
    
    

    See https://developer.android.com/tools/building/multidex.html

提交回复
热议问题