apache / cordova-plugin-media-capture

Apache Cordova Media Capture Plugin
https://cordova.apache.org/
Apache License 2.0
307 stars 489 forks source link

Plugins are missing dependencies #258

Closed Codeyiizen closed 11 months ago

Codeyiizen commented 1 year ago

Bug Report

Problem

i am getting same error again and again when i run ionic cap build android "Plugins are missing dependencies". and inside android studio "Cannot resolve symbol 'file'".

what i run i is :

$ npm install cordova-plugin-media-capture $ npm install @awesome-cordova-plugins/media-capture $ ionic cap sync

jcesarmobile commented 11 months ago

This plugin depends on cordova-plugin-file, but Capacitor doesn't install plugin dependencies, if you check the ionic cap sync output, it should be warning you about the missing cordova-plugin-file dependency and telling you to install it.