Skip to content

Android app is failing to start #129

Open
@rutanshuj

Description

@rutanshuj

Cloned the demo and while running the command npx react-native run-android and I get the following issue (Even with command react-native run-android)

* What went wrong:
Could not determine the dependencies of task ':app:mergeDebugAssets'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not resolve com.transistorsoft:tsbackgroundfetch:+.
     Required by:
         project :app > project :react-native-background-fetch
      > Failed to list versions for com.transistorsoft:tsbackgroundfetch.
         > Unable to load Maven meta-data from https://www.jitpack.io/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml.
            > Could not GET 'https://www.jitpack.io/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml'. Received status code 521 from server: 

android/local.properties
sdk.dir = /Users/[Username]/Library/Android/sdk

I checked my Gradle Version as well

gradle --version


Gradle 7.4.2

Build time: 2022-03-31 15:25:29 UTC
Revision: 540473b8118064efcc264694cbcaa4b677f61041

Kotlin: 1.5.31
Groovy: 3.0.9
Ant: Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM: 18.0.1.1 (Homebrew 18.0.1.1+0)
OS: Mac OS X 12.2.1 x86_64

I have Invalidated Cache and restarted several times however the same issue arises.

Please let me know how to go about this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions