1. 程式人生 > >Error:Execution failed for task ':app:mergeDebugResources'. > Error: java.lang.RuntimeException: Som

Error:Execution failed for task ':app:mergeDebugResources'. > Error: java.lang.RuntimeException: Som

   今天把eclipse專案匯入AndroidStudio。結果報錯了。查了很多資料在gradle裡面加上這兩句就行了。

android {
compileSdkVersion 10
buildToolsVersion "25.0.0"
aaptOptions.cruncherEnabled = false
aaptOptions.useNewCruncher = false