drawables have no declaration in the base drawable folder or in a drawable-densitydpi
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 20/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- android, angular, typescript
- 領域
- build-system, cli, mobile-dev
研究方向
從 ionic cordova resources android 和 ionic cordova build android --prod --release 開始,接著檢查產生的 drawable 資源以及 MissingDefaultResource 輸出。確認是資源產生還是 Android 建置輸入造成缺少基礎宣告,並記錄一個可重現的修正方式後,即視為完成。
由索引模型根據 Issue 內容生成。
描述
Description:
I have a published app which i needed to make a few changes and re-publish. When i try to build now i get numerous errors of the type:
Error: The drawable "screen" in drawable-land-hdpi has no declaration in the base drawable folder or in a drawable-densitydpi folder; this can lead to crashes when the drawable is queried in a configuration that does not match this qualifier [MissingDefaultResource]
Steps to Reproduce:
ionic cordova resources android
ionic cordova build android --prod --release
Output:
numerous errors like:
Error: The drawable "screen" in drawable-land-hdpi has no declaration in the base drawable folder or in a drawable-densitydpi folder; this can lead to crashes when the drawable is queried in a configuration that does not match this qualifier [MissingDefaultResource]
My ionic info:
Ionic:
Ionic CLI : 5.4.13 (C:\Users\Peter\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.12.0-dev.201910171955.51969ca
@angular-devkit/build-angular : 0.13.9
@angular-devkit/schematics : 7.3.9
@angular/cli : 7.3.9
@ionic/angular-toolkit : 1.5.1
Capacitor:
Capacitor CLI : 1.0.0-beta.24
@capacitor/core : 1.0.0-beta.24
Cordova:
Cordova CLI : 9.0.0 ([email protected])
Cordova Platforms : android 8.0.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.0.1, (and 8 other plugins)
Utility:
cordova-res (update available: 0.8.0) : 0.3.0
native-run (update available: 0.2.9) : 0.2.8
System:
Android SDK Tools : 26.1.1 (C:\android-sdk)
NodeJS : v10.13.0 (D:\Program Files\nodejs\node.exe)
npm : 6.13.4
OS : Windows 7
Other Information:
I published this app back in early Sept and everything worked.
- 主要語言
- TypeScript
- 星號
- 2k
- 分支
- 681
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 提供 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
ionic-team/ionic-cli 的其他 Issue
-
triage
難度 1/5 1 小時以內 新手友好度 65/100
ionic-team/ionic-cli#5016 ·
-
triage
難度 5/5 一週以上 新手友好度 15/100
ionic-team/ionic-cli#5131 ·
-
triage
難度 3/5 1-2 天 新手友好度 56/100
ionic-team/ionic-cli#5130 ·
-
triage
難度 3/5 1-2 天 新手友好度 72/100
ionic-team/ionic-cli#5129 ·
-
triage
難度 3/5 1-2 天 新手友好度 42/100
ionic-team/ionic-cli#5127 · 2 則留言 ·
查看 ionic-team/ionic-cli 的全部 Issue
相似的 Issue
-
Add: VIVE TV未關閉approved check:passed streams:add
難度 1/5 1 小時以內 新手友好度 72/100
維護者通常 1 天內回覆
-
bug needs-triage
難度 2/5 1-3 小時 新手友好度 62/100
Fission-AI/OpenSpec#2084 ·
維護者通常 2 天內回覆
-
Contrib indemnité de départ à la retraite : faire le pont avec le simulateur sur la page générique未關閉P1
難度 2/5 1-3 小時 新手友好度 62/100
SocialGouv/code-du-travail-numerique#7561 ·
維護者通常 1 天內回覆
-
beginner bug
難度 1/5 1 小時以內 新手友好度 88/100
hiero-ledger/hiero-sdk-js#4517 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 85/100
kubernetes-sigs/headlamp#7950 ·
維護者通常 3 天內回覆