error :com.labters.lottiealertdialoglibrary.DialogTypes cannot resolve TYPE_CUSTOM
how to produce error
- configure settings.gradle (adding
maven { url "https://jitpack.io" })
- adding
maven { url "https://jitpack.io" } to top-level build.gradle
- import dependencies implementation
'com.airbnb.android:lottie:2.7.0' and implementation 'com.github.mayuce:LottieAlertDialog:1.1'
- using
LottieAlertDialog.Builder(this,DialogTypes.TYPE_CUSTOM,"lottie_file.json")
android studio version : Arctic fox 2020.3.1 Patch 2
build:gradle version : 7.0.2
error :
com.labters.lottiealertdialoglibrary.DialogTypescannot resolveTYPE_CUSTOMhow to produce error
maven { url "https://jitpack.io" })maven { url "https://jitpack.io" }to top-level build.gradle'com.airbnb.android:lottie:2.7.0'andimplementation 'com.github.mayuce:LottieAlertDialog:1.1'LottieAlertDialog.Builder(this,DialogTypes.TYPE_CUSTOM,"lottie_file.json")android studio version : Arctic fox 2020.3.1 Patch 2
build:gradle version : 7.0.2