Dimezis / BlurView

Dynamic iOS-like blur of underlying Views for Android
Apache License 2.0
3.5k stars 333 forks source link

Could not find com.eightbitlab:blurview:2.0.0 #174

Closed 542604974 closed 2 years ago

542604974 commented 2 years ago

Could not determine the dependencies of task ':app:compileDebugKotlin'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not find com.eightbitlab:blurview:2.0.0. Searched in the following locations:

Possible solution:

542604974 commented 2 years ago

buildscript { ext.kotlin_version = '1.3.61' repositories { jcenter() google() mavenCentral() //tpns接入 maven { url 'http://developer.huawei.com/repo/' } maven { url 'https://jitpack.io' } } dependencies { classpath 'com.android.tools.build:gradle:4.2.1' //tpns集成插件 classpath "com.tencent.android.tpns:tpnsplugin:1.8.0"

    classpath 'com.huawei.agconnect:agcp:1.6.0.300'     // 华为推送 gradle 插件依赖

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
    //   支持kotlin
    classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}

}

allprojects { repositories { flatDir { dirs project(':app').file('libs') } jcenter() google() mavenCentral() maven { url 'http://developer.huawei.com/repo/' } // 华为仓,如果不集成华为可以不加 maven { url 'https://jitpack.io' } } }

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

Dimezis commented 2 years ago

You're using a wrong version tag name.

Please check the Readme.

implementation 'com.github.Dimezis:BlurView:version-2.0.0'
542604974 commented 2 years ago

You're using a wrong version tag name.

Please check the Readme.

implementation 'com.github.Dimezis:BlurView:version-2.0.0'

I tried, but I still reported a mistake

Dimezis commented 2 years ago

Here's the build on jitpack, you can see it's there - https://jitpack.io/#Dimezis/BlurView/version-2.0.0

maven { url 'https://jitpack.io/' } and the version tag implementation 'com.github.Dimezis:BlurView:version-2.0.0'

works properly.

If it doesn't work for you, you made a mistake somewhere

freeboub commented 1 year ago

It would be interesting to add these informations to the README.md file ! Should I create a PR with this change ?

Dimezis commented 1 year ago

@freeboub the readme has a link to Jitpack which has these instructions on the main page. The instructions are also the same for every library, so I don't think it's necessary to repeat them in the readme

freeboub commented 1 year ago

@freeboub the readme has a link to Jitpack which has these instructions on the main page. The instructions are also the same for every library, so I don't think it's necessary to repeat them in the readme

Ok, it is effectivelly in README, I don't kown which do I watched ... Sorry for the disturbing !