【发布时间】:2018-06-20 19:04:00
【问题描述】:
安装插件或仅将 7.0/7.1 Android 平台添加到 Cordova 项目时,系统将返回错误 failed to install 'plugin name': Error: ENOENT: no such file or directory, open '...application directory.../platforms/android/AndroidManifest.xml'尽管插件从不引用旧文件位置。
根据 Cordova 博客文章 here,该插件已将其编辑配置 AndroidManifest.xml 目标切换为 app/src/main/AndroidManifest.xml,但它仍然会导致错误。
【问题讨论】: