EddyVerbruggen / nativescript-local-notifications

:mailbox: NativeScript plugin to easily schedule local notifications
MIT License
162 stars 57 forks source link

build failed for android on Nativescript 5.0 #121

Closed edyrkaj closed 5 years ago

edyrkaj commented 5 years ago
dependencies {
    def supportVer = "28.0.0"
    if (project.hasProperty("supportVersion")) {
        supportVer = supportVersion
    }

    println "Using support library version $supportVer"

    implementation "com.android.support:multidex:1.0.2"
    implementation "com.android.support:support-v4:$supportVer"
    implementation "com.android.support:appcompat-v7:$supportVer"

previously in another comment you entered this` compile "com.android.support:support-v4:26.1.0"

Actually compile is deprecated and replaced with implementation. I used that but didn't worked :(

EddyVerbruggen commented 5 years ago

I just bumped the embedded demo to {N} 5 and had no problems. Can you try please?

git clone https://github.com/EddyVerbruggen/nativescript-local-notifications
cd nativescript-local-notifications/src
npm run demo.android
edyrkaj commented 5 years ago

Yes It was ok. Just removed and reinstalled platform again through tns commands and seems to be working. Thnx