mariusbackes / cordova-plugin-sumup

:pager: :moneybag: Cordova plugin for SumUp SDK integration
5 stars 18 forks source link

Unable to build android after installing plugin #37

Open mhoweson opened 2 years ago

mhoweson commented 2 years ago

After installing the sumup plugin I've been unable to build my app for Android. If i uninstall sumup it builds without error. Build error is as follows

Execution failed for task ':app:bundleReleaseResources'.

A failure occurred while executing com.android.build.gradle.internal.res.Aapt2ProcessResourcesRunnable Android resource linking failed ERROR:: AAPT: error: resource style/Widget.AppCompat.TextView (aka com.myapp.mobile:style/Widget.AppCompat.TextView) not found.

Any ideas what might cause this? Thanks!

stSGch commented 2 years ago

I have a similar issue. I'm using Ionic Vue with Awesome Cordova Plugins as wrapper for capacitor. When builiding the app in Android Studio, I get the following error:

FAILURE: Build failed with an exception.

  • Where: Script '.....\node_modules\cordova-sumup-plugin\src\android\build.gradle' line: 1

  • What went wrong: A problem occurred evaluating script. Failed to apply plugin 'com.android.internal.application'. Cannot add a configuration with name 'androidJdkImage' as a configuration with that name already exists.

smaier93 commented 2 years ago

Exactly the same issue as stSGch. Only with the plugin installed