Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while trying to add the Appspector Plugin #24

Open
thproflord opened this issue Oct 16, 2024 · 1 comment
Open

Error while trying to add the Appspector Plugin #24

thproflord opened this issue Oct 16, 2024 · 1 comment

Comments

@thproflord
Copy link

thproflord commented Oct 16, 2024

Currently I'm facing a problem trying to add the appspector plugin, is giving me this error:
Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin 'com.appspector.sdk'.

My build.gradle project level

buildscript {
    apply from: new File(rootProject.projectDir, 'dependencies.gradle')//"$projectDir/dependencies.gradle"

    repositories {
        mavenCentral()
        google()
        jcenter()
        maven { url "https://maven.appspector.com/artifactory/android-sdk" }
    }

    dependencies {
        classpath "com.android.tools.build:gradle:${gradle_version}"
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlin_version}"
        classpath "com.google.gms:google-services:${google_play_services}"
        classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
        classpath "com.appspector:android-sdk-plugin:$appspector_version"
    }
}

My build.gradle app levvel

plugins {
    id 'org.jetbrains.kotlin.plugin.compose' version '2.0.0'
}
apply plugin: 'com.android.application'
apply plugin: 'com.appspector.sdk'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'kotlinx-serialization'
dependencies {
    implementation "com.appspector:android-sdk:${appspector_version}"
}

Tried with appspector version: 1.+ and 1.4.4

My agp is 8.5.1 and my gradle is 8.10.1

@Dimdron
Copy link
Contributor

Dimdron commented Oct 16, 2024

Hello! Unfortunately, we had to stop maintaining Gradle Plugin due to removed necessary APIs from AGP 8. Please, integrate only the SDK to your project.
And sorry that the README confused you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants