0

I get an android source code with org.litepal.android:java:3.0.0. dependency, this dependency can be found in jcenter, according to https://mvnrepository.com/artifact/org.litepal.android/java/3.0.0

I have a same error with other libraries.

I have commented the jCenter source in my build.gradle:

repositories {
    flatDir {
        dirs 'libs'
        maven { url 'https://jitpack.io' }
    }
    mavenCentral()
    google()
    // jcenter()
}

I get a following error message:

   > Could not find org.simple:androideventbus:1.0.5.1.
     Required by:
         project :app
   > Could not find org.litepal.android:java:3.0.0.
     Required by:
         project :app
   > Could not find cn.bingoogolapple:bga-progressbar:1.0.1.
     Required by:
         project :app
    ```
Dániel Kis
  • 2,341
  • 5
  • 28
  • 51
  • Answer here https://stackoverflow.com/a/70689114/8511982 – Murilo Medeiros Jan 12 '22 at 22:42
  • I have added https://repo.gradle.org/gradle/repo repository to my sources, but it says: `Could not find org.litepal.android:java:3.0.0` – Dániel Kis Jan 12 '22 at 22:58
  • Does this answer your question? [Could not HEAD 'https://jcenter.bintray.com/com/facebook/react/react-native/maven-metadata.xml'](https://stackoverflow.com/questions/74260926/could-not-head-https-jcenter-bintray-com-com-facebook-react-react-native-mave) – PhilippeAuriach Oct 31 '22 at 15:36

1 Answers1

1

Currently, jcenter is down and no library located there is available right now.

I checked out your library (org.litepal.android) and it seems that particular version isn't available from any other repository. However, I found out that the developer published another version of that library (https://github.com/guolindev/LitePal) and maybe you can change it.

I would advice you to change your reference:

  • org.litepal.android:java:3.0.0.

To:

  • org.litepal.guolindev:core:3.2.3

Hope it works for you!

Yolo McWolf
  • 28
  • 1
  • 4