上一岁的项目中使用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清除构建问题和应用程序安装并正常运行。 –