Skip to content

Issue with com.github.tapadoo:Alerter:6.1.0 with Nativescript 8+ #78

@marcelbonfim182

Description

@marcelbonfim182

Problem compiling the nativescript-feedbaack plugin in nativescript 8+ version

To solve the problem, simply change the nativescript-feedback plugin's include.gradle file to:

repositories {
jcenter()
mavenCentral()
maven { url "https://jitpack.io" } //include this part
}

dependencies {
def supportVer = "27.0.1"
if (project.hasProperty("supportVersion")) {
supportVer = supportVersion
}
implementation "com.android.support:appcompat-v7:$supportVer"
implementation "com.github.tapadoo:Alerter:7.2.4" //include this part
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.3.72"
}

With this change, I correctly added the JitPack repository and updated the Alerter dependency version to 7.2.4. Now Gradle can fetch this library version and build the project correctly.

//IN PORTUGUESE
Problema ao compilar o plugin nativescript-feedbaack na versão nativescript 8+

Para sanar o problema basta alterar o arquivo include.gradle do plugin nativescript-feedback para:

repositories {
jcenter()
mavenCentral()
maven { url "https://jitpack.io" } //incluir essa parte
}

dependencies {
def supportVer = "27.0.1"
if (project.hasProperty("supportVersion")) {
supportVer = supportVersion
}
implementation "com.android.support:appcompat-v7:$supportVer"
implementation "com.github.tapadoo:Alerter:7.2.4" //incluir essa parte
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.3.72"
}

Com essa alteração, adcionei corretamente o repositório JitPack e atualizei a versão da dependência Alerter para 7.2.4. Agora o Gradle pode buscar essa versão da biblioteca e compilar o projeto corretamente.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions