java.lang.RuntimeException: java.lang.NoSuchMethodError: com.squareup.javapoet.CodeBlock.of(Ljava/lang/String;[Ljava/lang/Object;)Lcom/squareup/javapoet/CodeBlock; 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.main.Main.compile(Main.java:553) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:45) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:33)

GitHub | fritzfs | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 880#228551755

    GitHub | 9 months ago | fritzfs
    java.lang.RuntimeException: java.lang.NoSuchMethodError: com.squareup.javapoet.CodeBlock.of(Ljava/lang/String;[Ljava/lang/Object;)Lcom/squareup/javapoet/CodeBlock; 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.main.Main.compile(Main.java:553) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:45) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:33)
  2. 0

    Make start not running Properly (JDK is setup properly)

    GitHub | 3 years ago | comet52
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':makeStart'.
  3. 0

    Issue 179786 - android - Getting aidl start issue in CentOS - Jenkins Server - Android Open Source Project - Issue Tracker - Google Project Hosting

    google.com | 1 year ago
    java.lang.RuntimeException: org.gradle.process.internal.ExecException: A problem occurred starting process 'command '/opt/tools/android/build-tools/22.0.1/aidl'' 09:02:07.875 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.ide.common.internal.WaitableExecutor.waitForTasksWithQuickFail(WaitableExecutor.java:116) 09:02:07.875 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.builder.internal.compiler.SourceSearcher.search(SourceSearcher.java:68) 09:02:07.876 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.builder.core.AndroidBuilder.compileAllAidlFiles(AndroidBuilder.java:981) 09:02:07.876 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.builder.core.AndroidBuilder$compileAllAidlFiles$1.call(Unknown Source) 09:02:07.877 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.tasks.AidlCompile.compileAllFiles(AidlCompile.groovy:118) 09:02:07.877 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.tasks.AidlCompile.this$6$compileAllFiles(AidlCompile.groovy) 09:02:07.878 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.tasks.AidlCompile$this$6$compileAllFiles.callCurrent(Unknown Source) 09:02:07.878 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.tasks.AidlCompile.doFullTaskAction(AidlCompile.groovy:168) 09:02:07.879 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.groovy:64) 09:02:07.879 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      java.lang.NoSuchMethodError: com.squareup.javapoet.CodeBlock.of(Ljava/lang/String;[Ljava/lang/Object;)Lcom/squareup/javapoet/CodeBlock; 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.main.Main.compile(Main.java:553) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:45) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:33)

      at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors()
    2. org.gradle.api
      JavaCompile.compile
      1. org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:101)
      2. org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:50)
      3. org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:36)
      4. org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:34)
      5. org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25)
      6. org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:157)
      7. org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:139)
      8. org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:93)
      8 frames
    3. com.android.build
      AndroidJavaCompile.compile
      1. com.android.build.gradle.tasks.factory.AndroidJavaCompile.compile(AndroidJavaCompile.java:49)
      1 frame
    4. org.gradle.internal
      JavaMethod.invoke
      1. org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
      1 frame
    5. Gradle Core
      AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute
      1. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:244)
      1 frame