You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried editing the file platforms/android/cordova/Api,js to the following:
this.locations = {
root: self.root,
www: path.join(self.root, 'assets/www'),
res: path.join(self.root, 'res'),
platformWww: path.join(self.root, 'platform_www'),
configXml: path.join(self.root, 'app/src/main/res/xml/config.xml'),
defaultConfigXml: path.join(self.root, 'cordova/defaults.xml'),
strings: path.join(self.root, 'app/src/main/res/values/strings.xml'),
manifest: path.join(self.root, 'app/src/main/AndroidManifest.xml'),
build: path.join(self.root, 'app/build'),
javaSrc: path.join(self.root, 'app/src/main/java'),
// NOTE: Due to platformApi spec we need to return relative paths here
cordovaJs: 'bin/templates/project/assets/www/cordova.js',
cordovaJsSrc: 'cordova-js-src'
};
The paths were broken in this file
After fixing that however I get the following error:
Unable to find a usable idle daemon. I have connected to 100 different daemons but I could not use any of them to run the build
Error: ENOENT: no such file or directory, open 'C:\cordovadev\diagflow\testdiag\platforms\android\res\xml\config.xml'
This occurs with a new Cordova app, the result of "cordova create mytest", with the following sequence:
The error does not occur without the plugin.
Using Cordova 8.0.0 and cordova-android 7.0.0 and Android Studio 3.0.1
The text was updated successfully, but these errors were encountered: