Skip to content

Can't run patched-app, "undeclared repository artifact" #39

@scirpter

Description

@scirpter

The error

A problem occurred configuring root project 'patched-app'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find com.github.lanchon.dexpatcher:dexpatcher-gradle:2.1.3.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/github/lanchon/dexpatcher/dexpatcher-gradle/2.1.3/dexpatcher-gradle-2.1.3.pom
       - https://jcenter.bintray.com/com/github/lanchon/dexpatcher/dexpatcher-gradle/2.1.3/dexpatcher-gradle-2.1.3.pom
       - https://plugins.gradle.org/m2/com/github/lanchon/dexpatcher/dexpatcher-gradle/2.1.3/dexpatcher-gradle-2.1.3.pom
       - file:/C:/Users/0/Desktop/dexpatcher-gradle/build/libs/dexpatcher-gradle-2.1.3.jar
       - file:/C:/Users/0/Desktop/dexpatcher-gradle/build/libs/dexpatcher-gradle.jar
     Required by:
         project :

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

Steps to reproduce

  1. Install latest Android Studio version (Windows 10)
  2. Clone https://github.com/DexPatcher/dexpatcher-gradle-samples
  3. Open "patched-app" project with Android Studio
  4. Running the app

What i've tried to fix 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