Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cordova build fails for Android 12 #263

Open
paulhaffner opened this issue Jun 15, 2023 · 1 comment
Open

Cordova build fails for Android 12 #263

paulhaffner opened this issue Jun 15, 2023 · 1 comment

Comments

@paulhaffner
Copy link

Specifying the telerik imagepicker using this entry in config.xml

<plugin name="cordova-plugin-telerik-imagepicker" version="2.3.6" source="npm" />

causes the build to fail with this series of VoltBuilder log entries.

Discovered plugin "cordova-plugin-telerik-imagepicker". Adding it to the project
Installing "cordova-plugin-telerik-imagepicker" for android
Failed to install 'cordova-plugin-telerik-imagepicker': Error: cordova-plugin-telerik-imagepicker cannot be added. <edit-config> changes in this plugin conflicts with <edit-config> changes in config.xml. Conflicts must be resolved before plugin can be added.
    at PlatformMunger.add_plugin_changes (/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:109:19)
    at /node_modules/cordova-common/src/PluginManager.js:121:33
    at _fulfilled (/node_modules/q/q.js:854:54)
    at /node_modules/q/q.js:883:30
    at Promise.promise.promiseDispatch (/node_modules/q/q.js:816:13)
    at /node_modules/q/q.js:877:14
    at runSingle (/node_modules/q/q.js:137:13)
    at flush (/node_modules/q/q.js:125:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
Failed to restore plugin "cordova-plugin-telerik-imagepicker". You might need to try adding it again. Error: Error: cordova-plugin-telerik-imagepicker cannot be added. <edit-config> changes in this plugin conflicts with <edit-config> changes in config.xml. Conflicts must be resolved before plugin can be added.
Cannot read properties of null (reading 'find')

2023-06-15 10:05:49,712 - 
Failed to install 'cordova-plugin-telerik-imagepicker': Error: cordova-plugin-telerik-imagepicker cannot be added.
<edit-config> changes in this plugin conflicts with <edit-config> changes in config.xml. Conflicts must be resolved before plugin can be added.
2023-06-15 10:05:49,712 - Build failed 7cc946d7-5aa9-4d86-ab26-8fefaf6cd426
2023-06-15 10:05:52,020 - Output: Package          Current  Wanted  Latest  Location                      Depended by
cordova-android   11.0.0  11.0.0  12.0.0  node_modules/cordova-android  7cc946d7-5aa9-4d86-ab26-8fefaf6cd426

@lbsesouza
Copy link

Did you get it working? Used another plugin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants