Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Execution failed for task ':app:javaPreCompileDebug'. #13

Open
AncientTree opened this issue Apr 9, 2021 · 0 comments
Open

Execution failed for task ':app:javaPreCompileDebug'. #13

AncientTree opened this issue Apr 9, 2021 · 0 comments

Comments

@AncientTree
Copy link

I used Markwon and following error repoted. Any idea? Thanks!

Execution failed for task ':app:javaPreCompileDebug'.
> Could not resolve all files for configuration ':app:debugAnnotationProcessorClasspath'.
   > Could not find prism4j-bundler.jar (io.noties:prism4j-bundler:2.0.0).
     Searched in the following locations:
         http://maven.aliyun.com/nexus/content/repositories/jcenter/io/noties/prism4j-bundler/2.0.0/prism4j-bundler-2.0.0.jar
   > Could not find ixjava.jar (com.github.akarnokd:ixjava:1.0.0).
     Searched in the following locations:
         http://maven.aliyun.com/nexus/content/repositories/jcenter/com/github/akarnokd/ixjava/1.0.0/ixjava-1.0.0.jar
   > Could not find commons-io.jar (commons-io:commons-io:2.6).
     Searched in the following locations:
         http://maven.aliyun.com/nexus/content/repositories/jcenter/commons-io/commons-io/2.6/commons-io-2.6.jar
   > Could not find google-java-format.jar (com.google.googlejavaformat:google-java-format:1.6).
     Searched in the following locations:
         http://maven.aliyun.com/nexus/content/repositories/jcenter/com/google/googlejavaformat/google-java-format/1.6/google-java-format-1.6.jar
   > Could not find guava.jar (com.google.guava:guava:22.0).
     Searched in the following locations:
         http://maven.aliyun.com/nexus/content/repositories/jcenter/com/google/guava/guava/22.0/guava-22.0.jar
   > Could not find javac-shaded.jar (com.google.errorprone:javac-shaded:9+181-r4173-1).
     Searched in the following locations:
         http://maven.aliyun.com/nexus/content/repositories/jcenter/com/google/errorprone/javac-shaded/9+181-r4173-1/javac-shaded-9+181-r4173-1.jar
   > Could not find jsr305.jar (com.google.code.findbugs:jsr305:1.3.9).
     Searched in the following locations:
         http://maven.aliyun.com/nexus/content/repositories/jcenter/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar
   > Could not find error_prone_annotations.jar (com.google.errorprone:error_prone_annotations:2.0.18).
     Searched in the following locations:
         http://maven.aliyun.com/nexus/content/repositories/jcenter/com/google/errorprone/error_prone_annotations/2.0.18/error_prone_annotations-2.0.18.jar
   > Could not find j2objc-annotations.jar (com.google.j2objc:j2objc-annotations:1.1).
     Searched in the following locations:
         http://maven.aliyun.com/nexus/content/repositories/jcenter/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar
   > Could not find animal-sniffer-annotations.jar (org.codehaus.mojo:animal-sniffer-annotations:1.14).
     Searched in the following locations:
         http://maven.aliyun.com/nexus/content/repositories/jcenter/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
dependencies {
    implementation "io.noties.markwon:core:4.3.1"
    implementation "io.noties.markwon:ext-strikethrough:4.3.1"
    implementation "io.noties.markwon:ext-latex:4.3.1"
    implementation "io.noties.markwon:editor:4.3.1"
    implementation "io.noties.markwon:image:4.3.1"
    implementation "io.noties.markwon:html:4.3.1"
    implementation "io.noties.markwon:ext-tasklist:4.3.1"
    implementation "io.noties.markwon:syntax-highlight:4.3.1"
    implementation "io.noties:prism4j:2.0.0"
    annotationProcessor 'io.noties:prism4j-bundler:2.0.0'
}
buildscript {
    repositories {
        maven{ url 'https://maven.aliyun.com/repository/google'}
        google()
        jcenter()
    }
}
allprojects {
    repositories {
        maven{ url 'https://maven.aliyun.com/repository/google'}
        google()
        jcenter()
        mavenCentral()
    }
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant