Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
scirpter opened this issue Sep 4, 2022 · 0 comments
Open

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

scirpter opened this issue Sep 4, 2022 · 0 comments

Comments

@scirpter
Copy link

scirpter commented Sep 4, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant