Closed aneebali closed 2 months ago
Solution:
Add this in your settings.gradle
:
maven { url 'https://jitpack.io' }
If you are using settings.gradle.kts
, add the following:
maven { setUrl("https://jitpack.io") }
Add this in your build.gradle
debugImplementation 'com.github.amitshekhariitbhu.Android-Debug-Database:debug-db:1.0.7'
If you are using build.gradle.kts
, add the following:
debugImplementation("com.github.amitshekhariitbhu.Android-Debug-Database:debug-db:1.0.7")
Using the Android Debug Database with encrypted database
Add this in your build.gradle
debugImplementation 'com.github.amitshekhariitbhu.Android-Debug-Database:debug-db-encrypt:1.0.7'
If you are using build.gradle.kts
, add the following:
debugImplementation("com.github.amitshekhariitbhu.Android-Debug-Database:debug-db-encrypt:1.0.7")
And to provide the password for the DB, you should add this in the Gradle: DBPASSWORD{VARIABLE}, if for example, PERSON is the database name: DB_PASSWORD_PERSON
debug {
resValue("string", "DB_PASSWORD_PERSON", "password")
}
Thanks