Android Gradle Build Error:Some file crunching failed, see logs for details解決辦法
轉載請標明出處:
http://www.cnblogs.com/why168888/p/5925756.html
本文出自:【Edwin部落格園】
出現這個錯誤的原因是有哪種情況?
1.構建Gradle的時候,Gradle會去檢查一下是否修改過檔案的字尾名;
2.一般大多數是出現在圖片上,.jpg修改成了.png就會出現這個問題;
3.9patch圖片也可能出現這個問題。
解決方案:
在當前模組下的build.gradle裡面新增程式碼:
aaptOptions {
cruncherEnabled = false
useNewCruncher = false
}
相關文章
- Android Bugs——Error:java.lang.RuntimeException: Some file crunching failed, see logs for detailsAndroidErrorJavaExceptionAI
- AAPT2 error: check logs for detailsAPTErrorAI
- 解決idea匯入maven專案報Unable to import maven project: See logs for details問題IdeaMavenImportProjectAI
- RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED解決辦法ErrorDNNAI
- Cargo invocation has failed: Error: exit code: 101.解決辦法CargoAIError
- An error occurred while updating the entries. See the inner exception for details.ErrorWhileExceptionAI
- Navicat tnt版本提示“failed to save password error code”的解決辦法AIError
- 錯誤Error during artifact deployment. See server log for details.ErrorServerAI
- mongodb錯誤解決辦法-bash: ./mongod: cannot execute binary file: Exec format errorMongoDBORMError
- 解決 React-Native mac10.14.4 執行報錯 error Failed to build iOS projectReactMacErrorAIUIiOSProject
- gradle的build.gradle詳解GradleUI
- 高效解決Failed to open zip file.Gradle‘s dependency cache may be corrupt(Android初學者遇到的問題—gradle的地址配置與安裝)AIGradleAndroid
- Vue 下 ESLint 的 error 解決辦法VueEsLintError
- ERROR 1290 (HY000) 解決辦法Error
- IDEA提示failed to load JVM DLL的解決辦法IdeaAIJVM
- git push報錯error: failed to push some refs to 'git@github.com:ErrorAIGithub
- Gradle Resolve dependecies 很長時間的解決辦法Gradle
- Error: pngquant failed to build, make sure that libpng-dev is installedErrorAIUIdev
- Android開發:build.gradle 配置指南AndroidUIGradle
- vscode中Git: host key verification failed的解決辦法VSCodeGitAI
- 解決 yum clean all Error rpmdb open failedErrorAI
- mysqldump error1066 錯誤的解決辦法MySqlError
- org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection 解決辦法SpringFrameworkJDBCOTGExceptionAI
- error in ./src/components/form/Editor.vue Module build failed: Error:Vue packages version mismatchErrorORMVueUIAIPackage
- gradle中的build script詳解GradleUI
- Qt for android編譯大坑之adb: failed to stat build-test-andoid5_12_8/android-build//build/QTAndroid編譯AIUI
- Authentication failure 以及xxx is not in the sudoers file 問題的解決辦法AI
- 簡易的解決方式linker command failed with exit code 1 (use -v to see invocation)AI
- SVN報錯“Failed to run the WC DB work queue associated with”解決辦法AI
- docker dm_task_run failed 啟動失敗解決辦法DockerAI
- git push origin master 時出現報錯 error: src refspec master does not match any error: failed to push someGitASTErrorAI
- 解決 Error: ENOSPC: System limit for number of file watchers reachedErrorMIT
- Jenkins報錯'Gradle build daemon disappeared unexpectedly'的問題解決JenkinsGradleUIAPP
- AndroidStudio進行Build時出現DexArchiveMergerException異常的解決辦法AndroidUIHiveException
- 時區提示:Local time zone must be set--see zic manual page 2018的解決辦法
- remount of /system failed: Read-only file system原因及解決REMAI
- command 'gcc' failed with exit status 1錯誤問題的解決辦法GCAI
- PyCharm啟動報錯:Failed to create JVM.解決辦法之一PyCharmAIJVM
- Android Studio升級gradle版本之後編譯出現CreateProcess error=206異常解決AndroidGradle編譯Error