cordova edit-config not updating AndroidManifest.xml

久未见 提交于 2019-12-05 22:06:25

Found the solution! <edit-config apparently cannot be inside the <platform></platform> tags. It has to be outside of it and it will work. Like this:

<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
  <application android:icon="@mipmap/appicons" android:roundIcon="@mipmap/appicons_round" />
</edit-config>

<platform name="android">
  ...
</platform>

Hope this helps someone else save a few hours.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!