amitshekhariitbhu / Android-Debug-Database

A library for debugging android databases and shared preferences - Make Debugging Great Again
https://outcomeschool.com
Apache License 2.0
8.39k stars 872 forks source link

Please move your library to mavencentral jcenter is not longer available #216

Closed vhernandezvitu closed 3 weeks ago

vhernandezvitu commented 2 years ago

Since jcenter is down people who use your library cannot compile

arunkrishnakv commented 2 years ago

+1. Even though your particular library is available in maven repository, some of your dependencies are using jcenter. Could you please update those?

\--- com.amitshekhar.android:debug-db:1.0.6 FAILED
+--- com.amitshekhar.android:debug-db:1.0.6 FAILED
+--- com.amitshekhar.android:debug-db:1.0.6 FAILED
|    |    +--- com.android.volley:volley:1.1.1 FAILED
|    |    |    +--- com.facebook.yoga:proguard-annotations:1.14.1 FAILED
|    |    |    \--- com.facebook.fbjni:fbjni-java-only:0.0.3 FAILED
+--- com.amitshekhar.android:debug-db:1.0.6 FAILED

These were the problematic libraries I could find. Thanks a ton for your amazing library.

powell commented 2 years ago

+1 Please, please. Your library is great !

huhuang03 commented 2 years ago

+1

Could not find com.amitshekhar.android:debug-db:1.0.6.
Required by:
    project :app
Search in build.gradle files
CleatonPais commented 2 years ago

+1

Really helpful library. Please migrate

Asutosh11 commented 2 years ago

the library is in jitpack. Use like this:

settings.gradle ...

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        maven { url 'https://jitpack.io' }
    }
}

...

quillalady commented 2 years ago

Please, migrate

ajinkya-iam commented 1 year ago

Please following steps to import this lib

Step 1. Add the JitPack repository to your build file

allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }

Step 2. Add the dependency

dependencies {
         debugImplementation 'com.github.amitshekhariitbhu.Android-Debug-Database:debug-db:v1.0.6'
    }

Reference - https://www.jitpack.io/#amitshekhariitbhu/Android-Debug-Database/v1.0.6

amitshekhariitbhu commented 3 weeks 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")
}