# Ionic 5 React - Capacitor with plugin Zoom or others Cordova plugins

**URL:** <https://forum.ionicframework.com/t/ionic-5-react-capacitor-with-plugin-zoom-or-others-cordova-plugins/189030>\
**Category:** Capacitor\
**Created:** [May 8, 2020, 12:37pm UTC](https://forum.ionicframework.com/t/ionic-5-react-capacitor-with-plugin-zoom-or-others-cordova-plugins/189030 "2020-05-08T12:37:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wesleyzxt](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/wesleyzxt/32/132205_2.png) [@wesleyzxt](https://forum.ionicframework.com/u/wesleyzxt)\
**Post date:** [May 8, 2020, 12:37pm UTC](https://forum.ionicframework.com/t/ionic-5-react-capacitor-with-plugin-zoom-or-others-cordova-plugins/189030/1 "2020-05-08T12:37:42Z")

</div>

When I add a plugin to my Capacitor project in Android Studio, the following message is displayed: “Caused by: org.gradle.api.resources.MissingResourceException: Could not read script ‘C:\Poliglota\poliglota-app\android\capacitor-cordova-android-plugins\cordova.variables.gradle’ as it does not exist.”

Ionic:

Ionic CLI : 6.6.0 (C:\Users\wesley.ornellas\AppData\Roaming\npm\node\_modules@ionic\cli)  
Ionic Framework : @ionic/react 5.0.7

Capacitor:

Capacitor CLI : 2.0.1  
@capacitor/core : 2.0.1

Utility:

cordova-res : not installed  
native-run : not installed

System:

NodeJS : v12.16.2 (C:\Program Files\nodejs\node.exe)  
npm : 6.14.4  
OS : Windows 10

npx cap ls  
Found 0 Capacitor plugins for android:  
Found 1 Cordova plugin for android  
cordova-plugin-camera (4.1.0)  
Found 0 Capacitor plugins for ios:  
Found 1 Cordova plugin for ios  
cordova-plugin-camera (4.1.0)

---

<div class="post-metadata">

**Author:** ![aaronksaunders](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/aaronksaunders/32/13729_2.png) [@aaronksaunders](https://forum.ionicframework.com/u/aaronksaunders)\
**Post date:** [May 8, 2020, 2:48pm UTC](https://forum.ionicframework.com/t/ionic-5-react-capacitor-with-plugin-zoom-or-others-cordova-plugins/189030/2 "2020-05-08T14:48:50Z")

</div>

You are going to need to provide more information

---

<div class="post-metadata">

**Author:** ![netkow](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/netkow/32/137759_2.png) [@netkow](https://forum.ionicframework.com/u/netkow)\
**Post date:** [May 11, 2020, 6:48pm UTC](https://forum.ionicframework.com/t/ionic-5-react-capacitor-with-plugin-zoom-or-others-cordova-plugins/189030/3 "2020-05-11T18:48:15Z")

</div>

Build your project: `ionic build`

Update Android: `npx cap update android`

The `capacitor-cordova-android-plugins` folder is git ignored by default because it’s generated by `npx cap update android` command. Running `update` should generate it if it doesn’t exist (causing the MissingResourceException you’re getting).

---

<div class="post-metadata">

**Author:** ![wesleyzxt](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/wesleyzxt/32/132205_2.png) [@wesleyzxt](https://forum.ionicframework.com/u/wesleyzxt)\
**Post date:** [May 13, 2020, 12:20pm UTC](https://forum.ionicframework.com/t/ionic-5-react-capacitor-with-plugin-zoom-or-others-cordova-plugins/189030/4 "2020-05-13T12:20:30Z")

</div>

> [@netkow](#):
>
> npx cap update android

I had the following:

PS C:\Poliglota\poliglota-app\> npx cap update android  
√ Updating Android plugins in 57.84ms  
Found 0 Capacitor plugins for android:  
Found 1 Cordova plugin for android  
cordova.plugin.zoom (4.6.2166-6.512)  
× update android: ENOENT: no such file or directory, open ‘C:\Poliglota\poliglota-app\node\_modules@capacitor\android\package.json’  
[error] Error running update: [Error: ENOENT: no such file or directory, open ‘C:\Poliglota\poliglota-app\node\_modules@capacitor\android\package.json’] {  
errno: -4058,  
code: ‘ENOENT’,  
syscall: ‘open’,  
path: ‘C:\Poliglota\poliglota-app\node\_modules\@capacitor\android\package.json’  
}  
Update finished in 0.295s

---

<div class="post-metadata">

**Author:** ![wesleyzxt](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/wesleyzxt/32/132205_2.png) [@wesleyzxt](https://forum.ionicframework.com/u/wesleyzxt)\
**Post date:** [May 16, 2020, 8:24pm UTC](https://forum.ionicframework.com/t/ionic-5-react-capacitor-with-plugin-zoom-or-others-cordova-plugins/189030/5 "2020-05-16T20:24:32Z")

</div>

Before adding or applying the Zoom Plugin, my application runs normally, after adding or applying the Zoom Plugin, my application is no longer compiled in Android Studio.

When recreating the Capacitor Android application the error message changed when compiling in Android Studio, now several error messages are presented in the SDK file - Zoom.java: “local variable (…) needs to be declared final”.

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/9/0/90b20b0429f8aee799ce4af1f77dd110c1ed81da.png)

Is the Zoom SDK supported in the current version of Ionic and Capacitor?
