boncey / Flickr4Java

Java API For Flickr. Fork of FlickrJ
BSD 2-Clause "Simplified" License
176 stars 154 forks source link

Could not resolve com.github.warkiz.widget:indicatorseekbar:2.1.2 #616

Closed marwanbenz closed 2 years ago

marwanbenz commented 2 years ago

Could not resolve com.github.warkiz.widget:indicatorseekbar:2.1.2

First Error : Could not resolve com.github.warkiz.widget:indicatorseekbar:2.1.2

Also I got this error too in same build as seen in the picture above : Could not find com.github.thekhaeng:pushdown-anim-click:1.1.1.

Here is the Build Gradle For Project

buildscript {
    repositories {
        google()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:4.0.1'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        google()
        mavenCentral()
        maven {
            url "https://maven.google.com"
        }
        //Tapdaq SDK and Adapters
        maven { url "https://android-sdk.tapdaq.com" }

        //Ironsource
        maven { url "https://android-sdk.is.com/" }
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

Here is the build.gradle for module

apply plugin: 'com.android.application'

android {
    compileSdkVersion 29
    buildToolsVersion "29.0.3"
    defaultConfig {
        applicationId "com.coloring.paint"
        minSdkVersion 15
        targetSdkVersion 29
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
    compileOptions {
        sourceCompatibility = '1.8'
        targetCompatibility = '1.8'
    }
    lintOptions {
        checkReleaseBuilds false
        // Or, if you prefer, you can continue to check for errors in release builds,
        // but continue the build even when errors are found:
        abortOnError false
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'androidx.appcompat:appcompat:1.4.1'
    implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
    testImplementation 'junit:junit:4.12'
    implementation('com.github.thekhaeng:pushdown-anim-click:1.1.1') {
        exclude group: 'com.android.support'
    }
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
    implementation 'com.github.warkiz.widget:indicatorseekbar:2.1.2'
    implementation 'com.google.code.gson:gson:2.8.6'
    implementation 'com.android.support:design:29.0.0'
    androidTestImplementation 'androidx.test:runner:1.4.0'
    implementation 'com.google.android.gms:play-services-ads:20.5.0'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'

    //Tapdaq
    implementation 'com.tapdaq.sdk:Tapdaq-BaseSDK:7.10.0'
    //Adapters - These will automatically pull ad network dependencies

    implementation 'com.tapdaq.sdk:TapdaqAdMobAdapter:7.10.0'
    implementation 'com.tapdaq.sdk:TapdaqFANAdapter:7.10.0'
    implementation 'com.tapdaq.sdk:TapdaqIronsourceAdapter:7.10.0'
    implementation 'com.tapdaq.sdk:TapdaqUnityAdsAdapter:7.10.0'
}

Project Properties

# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx1536m
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# `http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects`
# org.gradle.parallel=true
# AndroidX package structure to make it clearer which packages are bundled with the
# Android operating system, and which are packaged with your app's APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true

NOTE!!! I tried many ways but no success! I tried to change Gradle versions but nothing changed.