Error:A problem was found with the configuration of task ':app:packageDebug' 問題解決
以前的老專案,匯入到AndroidStudio 2.2.2時,報錯:
解決辦法 :
- Error:A problem was found with the configuration of task ':app:packageDebug'.
- > File 'E:\AndroidStudio\work\AUWoQu\YingYongShiChang\app\build\intermediates\res\resources-debug-stripped.ap_' specified for property 'resourceFile' does not exist.
解決辦法 :
開啟app的build.gradle
將shrinkResources 設定為false
- buildTypes {
- release {
- minifyEnabled true
- shrinkResources false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- debug {
- //開啟程式碼混淆
- minifyEnabled false
- // 移除無用的resource檔案
- shrinkResources false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
相關文章
- configure: error: no acceptable C compiler found in $PATH 問題解決ErrorCompile
- 解決bash: mysql: command not found的問題MySql
- Maven Java EE Configuration Problem 的完美解決辦法MavenJava
- 關於java.lang.Error: Probable fatal error:No fonts found問題JavaError
- 解決python MySQLdb import Error問題PythonMySqlImportError
- APP安全問題亟待解決APP
- Error in GetCurrentDir(): 13 問題分析與解決Error
- springboot專案解決 No beans of 'UserDao' type found 問題Spring BootBean
- mysqld: File './binlog.~rec~' not found 問題解決處理MySql
- 解決Android中No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse問題AndroidAPP
- syntax error near unexpected token `問題的解決Error
- Ping:Transmit Failed, Error Code 65問題解決MITAIError
- 解決Parameter '__frch_item_0' not found. Available parameters 問題AI
- 解決「問題」,不要解決問題
- mysql登入遇到ERROR 1045問題解決方法MySqlError
- Jboss-mysql.rar執行環境包安裝的問題MAPPING configuration errorMySqlAPPError
- 9.(轉)Spring Configuration Check Unmapped Spring configuration files foundSpringAPP
- install emc powerpath on redhat linux and 'Found duplicate PV' 問題解決RedhatLinux
- 【AndroidStudio】Error:Execution failed for task ':app:preDebugAndroidTestBuild'.AndroidErrorAIAPPUI
- 解決元件化中 ModuleApplication 共存問題元件化APP
- 移動APP卡頓問題解決實踐APP
- chrome appcache一個問題的解決ChromeAPPPCA
- 解決git SSL certificate problemGit
- npm ERR! Error: CERT_UNTRUSTED的問題解決NPMErrorRust
- Uncaught Error: Bootstrap‘s JavaScript requires jQuery報錯問題解決ErrorbootJavaScriptUIjQuery
- Andorid“emulator: ERROR: unknown virtual device name”問題解決Errordev
- Android gradle問題解決: This app has been built with an incorrect configuration. Please configure your b...AndroidGradleAPPUI
- 解決SpringBoot頁面localhost 404問題,即Whitelabel Error Page問題Spring BootlocalhostError
- VScode git無法使用,Error: command 'git.push' not found 原始碼管理無法使用的問題及解決方法VSCodeGitError原始碼
- App\User 替換為 App\Models\User 的問題解決!APP
- No Task Available解決方法AI
- Laravel 6 ignition 解決 Class 'xxx' not found 載入緩慢問題Laravel
- 記錄一次解決App崩潰問題的解決方案APP
- 解決問題
- 解決 The ‘supervisor==3.2.0‘ distribution was not found and is required by the application錯誤UIAPP
- OEM Configuration ErrorError
- INS-20802 ORACLE NET CONFIGURATION ASSISTANT FAILED 問題解決OracleAI
- 行者APP適配國外環境問題解決APP