Update gradle deps
Increase minSdkVersion to 21 to avoid Error:Cannot fit requested classes in a single dex file
Increase compileSdkVersion and targetSdkVersion to 33 to work with new dep versions
Add
to avoid Duplicate class androidx.lifecycle.ViewModelLazy found in modules jetified-lifecycle-viewmodel-ktx-2.3.1-runtime (androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1) and lifecycle-viewmodel-2.5.1-runtime (androidx.lifecycle:lifecycle-viewmodel:2.5.1)
Update gradle deps Increase
minSdkVersion
to21
to avoidError:Cannot fit requested classes in a single dex file
IncreasecompileSdkVersion
andtargetSdkVersion
to 33 to work with new dep versions Addto avoid
Duplicate class androidx.lifecycle.ViewModelLazy found in modules jetified-lifecycle-viewmodel-ktx-2.3.1-runtime (androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1) and lifecycle-viewmodel-2.5.1-runtime (androidx.lifecycle:lifecycle-viewmodel:2.5.1)