Closed lixplor closed 7 years ago
Android Studio 2.0 Gradle Error [NoClassDefFoundError: Could not initialize class xxx.xxx.xxx]
原因: 65k问题 解决: 启用multidex, 在gradle中multiDexEnabled true, 在Application基类中重写attachBaseContext()并加入MultiDex.install(this)使其最先初始化;
Android Studio 2.0 Gradle Error [NoClassDefFoundError: Could not initialize class xxx.xxx.xxx]