上一歲的項目中使用cordova build
提出:圖標錯誤建築科爾多瓦
:processDebugResources
my_project/platforms/android/build/intermediates/manifests/full/debug/AndroidManifest.xml:24: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/icon').
然後擊碎:
FAILURE: Build failed with an exception.
任何想法?
謝謝,但它不是'繪製/ ic_launcher'但'繪製/ icon'。 BTW清單是由'cordova platform add android'創建的。 – Michael
沒有工作,甚至導致應用程序崩潰後崩潰 – Chisko
這也是我的解決方案。一個項目已從CLI 6.0更新到CLI 6.4和Android平臺6.1.2。如果有「@ drawable/icon」和切換到mipmap清除構建問題和應用程序安裝並正常運行。 –