Closed makvasic closed 3 months ago
Right now jCenter is down, I think it hast to be an error... where else can we find it?
I'm using jitpack!
https://jitpack.io/#amitshekhariitbhu/Android-Debug-Database/v1.0.6
I already have jitpack.io in my project, but for some reason Android-Debug-Database is not working when I remove jcenter from the project. It looks like jitpack.io may be returning a 403 Forbidden? I might try it with an empty project later, but I also tried moving jitpack.io to the top and had the same result.
You need to change the way you declare your dependency, when using jitpack. In this case it's like:
implementation 'com.github.amitshekhariitbhu.Android-Debug-Database:debug-db:v1.0.6'
Thanks, you are right; I missed the addition of .Android-Debug-Database
🙂
Maybe update the readme then.
'com.github.amitshekhariitbhu.Android-Debug-Database:debug-db:v1.0.6'
It would be great to have the readme updated. Save someone else the hustle..
VERY IMPORTANT notice about this
Never ever use implementation use debugImplementation. This silly mistake cost me my entire Google Play Developer account shutdown with all my apps. I try and try to reach to Google to amend this, but the bots consider my app as a malware (because of the DataBase access) and that's a violation to their Policy.
Of course my intention was never that, but even after many month of trying to reach a human being at Google, to explain and get back my developer account, I did not succeed.
If you are reading this and work at Google and want to lend me a hand on this, I would greatly appreciate it!
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")
}
JCenter is getting shut down in May https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/