Plugin [id: 'com.zoho.apptics.apptics-plugin', version: '0.2.3', apply: false] was not found in any of the following sources:

i am having this error when building flutter android.

FAILURE: Build failed with an exception.

* Where:
Settings file 'C:\e2w_flutter_latest\android\settings.gradle' line: 46

* What went wrong:
Plugin [id: 'com.zoho.apptics.apptics-plugin', version: '0.2.3', apply: false] was not found in any of the following sources:

- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Included Builds (No included builds contain this plugin)
- Plugin Repositories (could not resolve plugin artifact 'com.zoho.apptics.apptics-plugin:com.zoho.apptics.apptics-plugin.gradle.plugin:0.2.3')
  Searched in the following repositories:
    Google
    BintrayJCenter
    MavenRepo
    Gradle Central Plugin Repository
    maven(https://maven.zohodl.com/)

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

i am using gradle version 8.10

this is my settings.gradle

pluginManagement {
    def flutterSdkPath = {
        def properties = new Properties()
        file("local.properties").withInputStream { properties.load(it) }
        def flutterSdkPath = properties.getProperty("flutter.sdk")
        assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
        return flutterSdkPath
    }()

    includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")

    repositories {
        google()
        jcenter()
        mavenCentral()
        gradlePluginPortal()

        maven {
            url "https://maven.zohodl.com/"
        }
    }
}

plugins {
    id "dev.flutter.flutter-plugin-loader" version "1.0.0"
    id "com.android.application" version "8.7.0" apply false
    id "org.jetbrains.kotlin.android" version "1.9.22" apply false
    id "com.google.gms.google-services" version "4.3.3" apply false
    id "com.zoho.apptics.apptics-plugin" version "0.2.3" apply false
}

this my app/build.gradle

plugins {
    id "com.android.application"
    id "kotlin-android"
    id "dev.flutter.flutter-gradle-plugin"
    id "com.google.gms.google-services"
    id "com.zoho.apptics.apptics-plugin"
}

def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
    localPropertiesFile.withReader('UTF-8') { reader ->
        localProperties.load(reader)
    }
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
    flutterVersionCode = '1'
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
    flutterVersionName = '1.0'
}

def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
    keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}

android {
    namespace "com.mysportsd.tracker"

    ndkVersion "27.0.12077973"

    compileSdkVersion 35

    sourceSets {
        main.java.srcDirs += 'src/main/kotlin'
    }

    lintOptions {
        disable 'InvalidPackage'
    }

    compileOptions {
        // Add these 3 lines inside [compileOptions]
        coreLibraryDesugaringEnabled true
        sourceCompatibility = JavaVersion.VERSION_17
        targetCompatibility = JavaVersion.VERSION_17
    }

    defaultConfig {
        // Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
        applicationId "com.mysportsd.tracker"
        minSdkVersion 28
        targetSdkVersion 35
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
        multiDexEnabled true

    }

    signingConfigs {
        release {
            keyAlias keystoreProperties['keyAlias']
            keyPassword keystoreProperties['keyPassword']
            storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
            storePassword keystoreProperties['storePassword']
        }
    }

    buildTypes {
        release {
            // Add your own signing config for the release build.
            // Signing with the debug keys for now, so `flutter run --release` works.
            signingConfig signingConfigs.release
        }
    }

    packagingOptions {
        pickFirst '**/libc++_shared.so'
        pickFirst '**/libfbjni.so'
    }
}

flutter {
    source '../..'
}

dependencies {
//    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    implementation 'com.google.firebase:firebase-database:19.2.1'
    implementation "com.google.firebase:firebase-messaging:20.1.0"
//    implementation 'com.google.firebase:firebase-analytics'
//    implementation 'com.google.firebase:firebase-analytics-ktx'
    implementation "androidx.health.connect:connect-client:1.1.0-alpha02"
    coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.4'// use compatible version e.g 2.1.4
    implementation platform('com.zoho.apptics:apptics-bom:0.2.5.0')

    implementation 'com.zoho.apptics:apptics-analytics'
    implementation 'com.zoho.apptics:apptics-feedback'
    implementation 'com.zoho.apptics:apptics-crash-tracker'
    implementation 'com.zoho.apptics:apptics-ratings'
    implementation 'com.zoho.apptics:apptics-appupdates'
    implementation 'com.zoho.apptics:apptics-rc'
    implementation 'com.zoho.apptics:apptics-crosspromo'
}

and this my android/build.gradle

allprojects {
    repositories {
        google()
        jcenter()
        mavenCentral()

        maven {
            url "https://maven.zohodl.com/"
        }
    }
}

rootProject.buildDir = '../build'

subprojects {
    afterEvaluate { project ->
        if (project.plugins.hasPlugin("com.android.application") ||
                project.plugins.hasPlugin("com.android.library")) {
            project.android {
                compileSdkVersion 35
                buildToolsVersion "35.0.0"
            }
        }
    }
}
subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
    project.evaluationDependsOn(':app')
}

subprojects {
    tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile) {
        kotlinOptions.jvmTarget = "1.8"
    }
}

tasks.register("clean", Delete) {
    delete rootProject.buildDir
}

apply plugin: 'com.google.gms.google-services'

i am using flutter plugin apptics_flutter | Flutter package

Android integration suggests, that they do not properly support the modern way of applying a plugin, but only the legacy discouraged way, so you would need to use a plugin resolution rules to work-around that: Using Plugins, or to use the legacy way.

Thank you.

i added this

resolutionStrategy {
        eachPlugin {
            if (requested.id.namespace == 'com.zoho.apptics') {
                useModule('com.zoho.apptics:apptics-plugin:0.2.3')
            }
        }
    }

and when building for flutter android, the previous error was gone, and another error showed.
At least there is some movement, i have been stuck at this error for days.
Btw, this is the new error:

Please never anywhere share screenshots of text if you only want to share the text and not something additional like colors or IDE annotations. Text in images is hard to read, especially on mobile, very hard to copy, and nearly impossible to search for.

Besides that, I guess that apptics flutter version is not compatible with the flutter version you are using like also in this case: FlutterView in io.flutter.view has been deprecated · Issue #111724 · flutter/flutter · GitHub
You probably have to ask apptics or their documentation about this.

Thank you for your feedback.
My bad for using a screenshot.

I will check again if there is any latest update on the plugin.