当前位置 : 主页 > 手机开发 > cordova >

建立Cordova的图标错误

来源:互联网 收集:自由互联 发布时间:2021-06-10
在一个有一年历史的项目中使用cordova构建: :processDebugResourcesmy_project/platforms/android/build/intermediates/manifests/full/debug/AndroidManifest.xml:24: error: Error: No resource found that matches the given name (at '
在一个有一年历史的项目中使用cordova构建:

: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.

任何的想法?

我遇到了同样的问题,我通过重新生成图标路径解决了这个问题,
试试这个

ionic resources --icon

在此之后使用以下命令

ionic build
网友评论