Everything works fine on Android cli-7.1.0 but cli-8.1.1 fails with:
Installing "cordova-plugin-customurlscheme" at "4.4.0" for android
Android Studio project detected
Android Studio project detected
/var/gimlet/tmp/47391837947460/2807767/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigFile.js:122
throw new Error('Unable to graft xml at selector "' + selector + '" from "' + filepath + '" during config install');
^
Error: Unable to graft xml at selector "/manifest/application/activity[@android:name='MainActivity']" from "/var/gimlet/tmp/47391837947460/2807767/app/src/main/AndroidManifest.xml" during config install
at ConfigFile_graft_child [as graft_child] (/var/gimlet/tmp/47391837947460/2807767/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigFile.js:122:19)
at PlatformMunger_apply_file_munge [as apply_file_munge] (/var/gimlet/tmp/47391837947460/2807767/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:81:34)
at munge_helper (/var/gimlet/tmp/47391837947460/2807767/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:238:14)
at PlatformMunger.add_config_changes (/var/gimlet/tmp/47391837947460/2807767/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:216:12)
at Object.<anonymous> (/var/gimlet/tmp/47391837947460/2807767/cordova/prepare:67:10)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
Everything works fine on Android cli-7.1.0 but cli-8.1.1 fails with:
Any ideas why and how to fix?