java.lang.NoSuchMethodError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • cd couchbase-lite-android/CouchbaseLiteProject ./build_android_testing.sh java.lang.NoSuchMethodError: method java.util.regex.Pattern.quote with signature (Ljava.lang.String;)Ljava.lang.String; was not found. at org.gradle.api.internal.classpath.DefaultModuleRegistry.findExternalJar(DefaultModuleRegistry.java:226) at org.gradle.api.internal.classpath.DefaultModuleRegistry.getExternalModule(DefaultModuleRegistry.java:101) at org.gradle.api.internal.DefaultClassPathProvider.findClassPath(DefaultClassPathProvider.java:46) at org.gradle.api.internal.DefaultClassPathRegistry.getClassPath(DefaultClassPathRegistry.java:34) at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:43) at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32) at org.gradle.launcher.GradleMain.main(GradleMain.java:26) at java.lang.reflect.Method.invoke(libgcj.so.12) at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:33) at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:130) at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48) Copying CBLite/build.gradle to CBLite/build.gradle.bak Copying CBLiteListener/build.gradle to CBLiteListener/build.gradle.bak Copying CouchbaseLiteProject/build.gradle to CouchbaseLiteProject/build.gradle.bak Set CBLite/build.gradle to testing mode Set CBLiteListener/build.gradle to testing mode Set CouchbaseLiteProject/build.gradle to testing mode Building .. Build error, aborting
    via by Phil Labee,
  • cd couchbase-lite-android/CouchbaseLiteProject ./build_android_testing.sh java.lang.NoSuchMethodError: method java.util.regex.Pattern.quote with signature (Ljava.lang.String;)Ljava.lang.String; was not found. at org.gradle.api.internal.classpath.DefaultModuleRegistry.findExternalJar(DefaultModuleRegistry.java:226) at org.gradle.api.internal.classpath.DefaultModuleRegistry.getExternalModule(DefaultModuleRegistry.java:101) at org.gradle.api.internal.DefaultClassPathProvider.findClassPath(DefaultClassPathProvider.java:46) at org.gradle.api.internal.DefaultClassPathRegistry.getClassPath(DefaultClassPathRegistry.java:34) at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:43) at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32) at org.gradle.launcher.GradleMain.main(GradleMain.java:26) at java.lang.reflect.Method.invoke(libgcj.so.12) at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:33) at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:130) at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48) Copying CBLite/build.gradle to CBLite/build.gradle.bak Copying CBLiteListener/build.gradle to CBLiteListener/build.gradle.bak Copying CouchbaseLiteProject/build.gradle to CouchbaseLiteProject/build.gradle.bak Set CBLite/build.gradle to testing mode Set CBLiteListener/build.gradle to testing mode Set CouchbaseLiteProject/build.gradle to testing mode Building .. Build error, aborting
    via by Phil Labee,
    • java.lang.NoSuchMethodError: method java.util.regex.Pattern.quote with signature (Ljava.lang.String;)Ljava.lang.String; was not found. at org.gradle.api.internal.classpath.DefaultModuleRegistry.findExternalJar(DefaultModuleRegistry.java:226) at org.gradle.api.internal.classpath.DefaultModuleRegistry.getExternalModule(DefaultModuleRegistry.java:101) at org.gradle.api.internal.DefaultClassPathProvider.findClassPath(DefaultClassPathProvider.java:46) at org.gradle.api.internal.DefaultClassPathRegistry.getClassPath(DefaultClassPathRegistry.java:34) at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:43) at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32) at org.gradle.launcher.GradleMain.main(GradleMain.java:26) at java.lang.reflect.Method.invoke(libgcj.so.12) at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:33) at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:130) at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48)
    No Bugmate found.