SpecialDialog allprojects { repositories { ... maven { url 'https://www.jitpack.io' } } } Step 2. Add the dependency dependencies { implementation 'com.github.Louisyong9527:SpecialDialog:1.2.1' }