Here is the problem:
> Task :app:processDebugMainManifest FAILED
/platforms/android/app/src/main/AndroidManifest.xml:58:5-81 Error:
Element uses-permission#android.permission.WRITE_EXTERNAL_STORAGE at AndroidManifest.xml:58:5-81 duplicated with element declared at AndroidManifest.xml:40:5-108
/platforms/android/app/src/main/AndroidManifest.xml Error:
Validation failed, exiting
I would contact the developer of cordova-plugin-camera regarding this issue. It’s likely either a bug in their plugin, or some other plugin. Here’s a workaround that we found that may work for you: Duplicate WRITE_EXTERNAL_STORAGE permissions in AndroidManifest using Cordova 12 for Android 13 - Stack Overflow