sumup / sumup-android-sdk

Sample App for the SumUp Android SDK
Other
105 stars 28 forks source link

Unsupported type 'font' #88

Open Trixt0r opened 5 years ago

Trixt0r commented 5 years ago

In the newest Version (3.2.0) I get a really annoying error while building your an cordova App with your Android SDK:

...
:mergeReleaseResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':mergeReleaseResources'.
> .../build/intermediates/exploded-aar/com.sumup/merchant-sdk/3.2.0/res/values/values.xml: Error: Unsupported type 'font'

This is somehow related to https://github.com/sumup/sumup-android-sdk/issues/61.

But this time I can not even merge the values over yours.

Do you have any advice on solving this issue?

jpclair commented 5 years ago

Same issue for me. SumUp SDK version: 3.2.1 Android Studio: 3.5 Build Tools: 26.0.3

Furiacs commented 4 years ago

I had the same error and resolved this issue updating Android Studio to 3.5.1.

    compileSdkVersion 28
    buildToolsVersion "28.0.3"

    defaultConfig {
        applicationId "com.sumup.sdksampleapp"
        minSdkVersion 16
        targetSdkVersion 28
        versionCode 1
        versionName "3.2.1"
    }

...
dependencies {
    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'com.google.android.gms:play-services-location:16.0.0'
    implementation 'com.sumup:merchant-sdk:3.2.1'
}