离子构建失败“意外元素< provider>在< manifest>"中找到 [英] Ionic build failed "unexpected element <provider> found in <manifest>"

查看:164
本文介绍了离子构建失败“意外元素< provider>在< manifest>"中找到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有此代码

<provider
    android:name="android.support.v4.content.FileProvider"
    android:authorities="nl.x-services.plugins.videocaptureplus.provider"
    android:exported="false"
    android:grantUriPermissions="true" >
    <meta-data
        android:name="android.support.FILE_PROVIDER_PATHS"
        android:resource="@xml/provider_paths" />
</provider>

但是,如果我尝试"Ionic cordova run android",则会出现此错误

But if i try "Ionic cordova run android" i have this error

https://pastebin.com/BAtL0VqK

该怎么办?

推荐答案

VideoCapturePlus出现了问题,因为我遇到了同样的问题.我已经将它换成MediaCapture,不再有这个问题.

The issue seems to be with VideoCapturePlus as I was getting the same problem. I have swapped it for MediaCapture and no longer have this problem.

这篇关于离子构建失败“意外元素&lt; provider&gt;在&lt; manifest&gt;&quot;中找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆