nstudio / nativescript-cardview

:diamonds: :clubs: NativeScript widget for Material Design CardView
MIT License
282 stars 51 forks source link

Android build fails with: String index out of range: -1 #90

Closed heese closed 6 years ago

heese commented 6 years ago

It seems that a value for 'productFlavors' is mandatory. I manually added the following code to 'android' in the file include.gradle.

    productFlavors {
        "nativescriptcardview" {
            dimension "nativescriptcardview"
        }
    }

Not sure though if is only my project setup. I am using NativeScript version 3.4.0.

bradmartin commented 6 years ago

https://github.com/bradmartin/nativescript-cardview#nativescript-3x