Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ionic build failed "unexpected element <provider> found in <manifest>"

I have this code

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

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

https://pastebin.com/BAtL0VqK

What can I do with this error?

like image 459
Дмитрий Avatar asked Oct 29 '18 11:10

Дмитрий


1 Answers

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.

like image 107
AustinBrock Avatar answered Nov 15 '22 08:11

AustinBrock