I have Cordova 8.0.0 on OSx 10.13.2 with Node v8.5.0 and npm v5.5.1.
After adding plugin cordova-plugin-ibeacon
, when I do a cordova platform add android
, I am getting following error:
failed to install 'cordova-plugin-whitelist': Error: ENOENT: no such file or directory AndroidManifest.xml
Screenshot:
The plugin whitelist can be defined as the security model that is responsible for controlling an access to the external domains. The Cordova mainly offers a configurable security policy that defines which of the external sites can be accessed.
We have integrated the Android 12 SplashScreen API including the compatibility library into the core of the Cordova-Android platform to provide support for Android API 22+.
Cordova-Android consists of an Android WebView with hooks attached to it. These plugins are represented as class mappings in the config. xml file. A plugin consists of at least one Java class that extends the CordovaPlugin class.
You are using cordova-android@~7.0.0
I have faced same issues with recent pull of cordova-android repo with Cordova 8.0.0
Downgrade cordova-android to 6.4.0 as follows:
cordova platform remove android
cordova platform add [email protected]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With