Telerik-Verified-Plugins / ImagePicker

Cordova Plugin For Multiple Image Selection
MIT License
182 stars 331 forks source link

Cordova build fails for Android 12 #263

Open paulhaffner opened 1 year ago

paulhaffner commented 1 year ago

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 commented 8 months ago

Did you get it working? Used another plugin?