1. 程式人生 > >Android Studio 導入應用時報錯 Error:java.lang.RuntimeException: Some file crunching failed, see logs for details

Android Studio 導入應用時報錯 Error:java.lang.RuntimeException: Some file crunching failed, see logs for details

gradle new ... pan run top adl som als

在app文件夾的build.gradle裏加上

android {

......

  aaptOptions.cruncherEnabled = false
  aaptOptions.useNewCruncher = false

......

}

Android Studio 導入應用時報錯 Error:java.lang.RuntimeException: Some file crunching failed, see logs for details