You have to update the library first. Because the previous library does not exist.
Before
implementation 'com.github.smarteist:autoimageslider:1.4.0'
After
implementation 'com.github.smarteist:Android-Image-Slider:1.4.0'
After replacing this it will work smoothly.
♥ Happy Coding ♥