Skip to content

Error to use the Fast Android Networking #611

Open
@juanfernandodev

Description

@juanfernandodev

Hello,

I take an Android project that use this lib to perform networking calls, my specific problem is the follow:

The project originally uses this line to get this dependency: implementation 'com.amitshekhar.android:android-networking:1.0.1'.

Recently, when I sync the project, it throws this:

Could not determine the dependencies of task ':app:compileDesarrolloDebugKotlin'.
> Could not resolve all files for configuration ':app:desarrolloDebugRuntimeClasspath'.
   > Failed to transform android-networking-1.0.1.aar (com.amitshekhar.android:android-networking:1.0.1) to match attributes {artifactType=android-res, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Could not find android-networking-1.0.1.aar (com.amitshekhar.android:android-networking:1.0.1).
        Searched in the following locations:
            https://jcenter.bintray.com/com/amitshekhar/android/android-networking/1.0.1/android-networking-1.0.1.aar
            https://jcenter.bintray.com/com/amitshekhar/android/android-networking/1.0.1/android-networking-1.0.1.jar

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

So, I search in google about this dependency and find this repository, following the steps to implement the lib, I got a similar error:

Could not determine the dependencies of task ':app:compileDesarrolloDebugKotlin'.
> Could not resolve all files for configuration ':app:desarrolloDebugRuntimeClasspath'.
   > Could not find com.github.amitshekhariitbhu.Fast-Android-Networking:android-networking:1.0.1.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/github/amitshekhariitbhu/Fast-Android-Networking/android-networking/1.0.1/android-networking-1.0.1.pom
       - https://jcenter.bintray.com/com/github/amitshekhariitbhu/Fast-Android-Networking/android-networking/1.0.1/android-networking-1.0.1.pom
       - https://jitpack.io/com/github/amitshekhariitbhu/Fast-Android-Networking/android-networking/1.0.1/android-networking-1.0.1.pom
     Required by:
         project :app

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions