Dimezis / BlurView

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

Not importing for "Android Studio Bumblebee" version. Can you help urgently? #173

Closed Seyf25 closed 2 years ago

Seyf25 commented 2 years ago

These imports are not valid when I upgrade to "Android Studio Bumblebee". Can you help urgently?

import eightbitlab.com.blurview.BlurView;
import eightbitlab.com.blurview.RenderScriptBlur;

Not working.

Edit: The cause of the problem: With the Bumblebee update, jcenter() is being replaced by mavenCentral(). After this modification, it cannot be imported. When I set it to jcenter() it gives a warning like this: "JCenter Maven repository is no longer receiving updates: newer library versions may be available elsewhere"

//working
allprojects {
    repositories {
        google()
        maven { url 'https://jitpack.io' }
        jcenter()
    }
}
//notworking
allprojects {
    repositories {
        google()
        maven { url 'https://jitpack.io' }
        mavenCentral()
    }
}
Seyf25 commented 2 years ago

I solved the problem with this. It was imported without any problems, it's easy.

dependencies { implementation 'com.github.Dimezis:BlurView:Tag' }

Dimezis commented 2 years ago

Yes, it's in the Readme