在我的构建类型中添加useProguard true和multidexEnabled true之后,在尝试构建时会出现此错误:
@H_301_6@compileSdkVersion 23 buildToolsVersion '23.0.2' defaultConfig { applicationId "com.example.android minSdkVersion 16 targetSdkVersion 23 versionCode gitVersionCode() versionName gitVersionName() multiDexEnabled true } @H_301_6@buildTypes { debug { ... useProguard false debuggable true } release { ... useProguard true }Error:Build-in class shrinker and multidex are not supported yet.
运行Android Studio 2.0 Beta 5.