Custom Main Gradle Template checkbox to true if they’re not already set.
Inside the mainTemplate.gradle, add the following inside the dependencies block:
implementation 'androidx.datastore:datastore-preferences:1.1.1' implementation 'com.google.crypto.tink:tink-android:1.11.0'
If you don’t have any other custom library of your own, it should look like this