см. сборка завершается на PGB с ошибкой - используемому плагину требуется предпочтение: ANDROID_SUPPORT_V4_VERSION
В вашем вопросе отсутствует трассировка стека и другие детали.Тем не менее, плагин
cordova-plugin-x-socialsharing
имеет проблему и дает сбой с:
FAILURE: Build failed with an exception.
* Where:
Build file '/home/mj/projects/benara-sales-client/platforms/android/build.gradle' line: 266
* What went wrong:
A problem occurred evaluating root project 'android'.
> Could not get unknown property 'ANDROID_SUPPORT_V4_VERSION' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Чтобы исправить, вы можете установить v5.4.0
, поэтому удалите плагин иправильная версия
cordova plugin rm cordova-plugin-x-social-sharing
cordova plugin add cordova-plugin-x-social-sharing@5.4.0
Надеюсь, это поможет.