gauravk95 / audio-visualizer-android

🎵 [Android Library] A light-weight and easy-to-use Audio Visualizer for Android.
Apache License 2.0
844 stars 127 forks source link

Cannot resolve class com.gauravk.audiovisualizer.visualizer.BarVisualizer #31

Open shikhar0512L opened 2 years ago

shikhar0512L commented 2 years ago

Cannot resolve class com.gauravk.audiovisualizer.visualizer.BarVisualizer

I have implemented your method but it is showing error

Benji377 commented 1 year ago

Could you please share a screenshot of the error you are getting, or copy-paste the stack trace?

Also make sure that you have included jcenter() in your build.gradle file:

allprojects {
    repositories {
        google()
        mavenCentral()
        jcenter() // Warning: this repository is going to shut down soon
        maven { url 'https://jitpack.io' }
    }
}
successdrives commented 7 months ago

Just add the jcenter() to the dependencyResolutionManagement,in settings.gradle. It should look like: dependencyResolutionManagement { repositoriesMode.set(...) repositories { mavenCentral() jcenter() } }