org.gradle.tooling.GradleConnectionException: Could not create an instance of Tooling API implementation using the specified Gradle distribution ' '.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via google.com by Unknown author, 1 year ago
Could not create an instance of Tooling API implementation using the specified Gradle distribution ' '.
via Stack Overflow by sagar Choudhari
, 1 year ago
Could not create an instance of Tooling API implementation using the specified Gradle distribution 'https://services.gradle.org/distributions/gradle-2.11-bin.zip'.
via Stack Overflow by Nilesh PS
, 6 months ago
Could not create an instance of Tooling API implementation using the specified Gradle installation '/home/nilesh/android-studio/gradle/gradle-2.10'.
via Stack Overflow by primehalo
, 8 months ago
Could not create an instance of Tooling API implementation using the specified Gradle distribution 'https://services.gradle.org/distributions/gradle-3.3-all.zip'.
via Stack Overflow by The_Martian
, 1 year ago
Could not create an instance of Tooling API implementation using the specified Gradle installation 'C:\Program Files\Android\Android Studio\gradle\gradle-2.8'.
via Stack Overflow by bcaceiro
, 2 years ago
Could not create an instance of Tooling API implementation using the specified Gradle installation '/Applications/Android Studio.app/Contents/gradle/gradle-2.4'.
org.gradle.tooling.GradleConnectionException: Could not create an instance of Tooling API implementation using the specified Gradle distribution ' '.
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:189)
at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:185)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf(PluginClassLoader.java:124)
at com.intellij.ide.plugins.cl.PluginClassLoader.tryLoadingClass(PluginClassLoader.java:77)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.gradle.internal.classloader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:63)
at java.lang.ClassLoader.loadClass(ClassLoader.java:412)
at org.gradle.internal.classloader.FilteringClassLoader.loadClass(FilteringClassLoader.java:78)
at java.lang.ClassLoader.loadClass(ClassLoader.java:412)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.gradle.internal.SystemProperties.(SystemProperties.java:28)
at org.gradle.logging.internal.ProgressLogEventGenerator.(ProgressLogEventGenerator.java:31)
at org.gradle.logging.internal.OutputEventRenderer.(OutputEventRenderer.java:46)
at org.gradle.logging.LoggingServiceRegistry.createOutputEventRenderer(LoggingServiceRegistry.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.gradle.internal.service.DefaultServiceRegistry.invoke(DefaultServiceRegistry.java:317)
at org.gradle.internal.service.DefaultServiceRegistry.access$1000(DefaultServiceRegistry.java:53)
at org.gradle.internal.service.DefaultServiceRegistry$FactoryMethodService.invokeMethod(DefaultServiceRegistry.java:609)
at org.gradle.internal.service.DefaultServiceRegistry$FactoryMethodService.create(DefaultServiceRegistry.java:594)
at org.gradle.internal.service.DefaultServiceRegistry$ManagedObjectProvider.getInstance(DefaultServiceRegistry.java:433)
at org.gradle.internal.service.DefaultServiceRegistry$SingletonService.get(DefaultServiceRegistry.java:473)
at org.gradle.internal.service.DefaultServiceRegistry.doGet(DefaultServiceRegistry.java:287)
at org.gradle.internal.service.DefaultServiceRegistry.get(DefaultServiceRegistry.java:271)
at org.gradle.logging.LoggingServiceRegistry.createProgressLoggerFactory(LoggingServiceRegistry.java:122)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.gradle.internal.service.DefaultServiceRegistry.invoke(DefaultServiceRegistry.java:317)
at org.gradle.internal.service.DefaultServiceRegistry.access$1000(DefaultServiceRegistry.java:53)
at org.gradle.internal.service.DefaultServiceRegistry$FactoryMethodService.invokeMethod(DefaultServiceRegistry.java:609)
at org.gradle.internal.service.DefaultServiceRegistry$FactoryMethodService.create(DefaultServiceRegistry.java:594)
at org.gradle.internal.service.DefaultServiceRegistry$ManagedObjectProvider.getInstance(DefaultServiceRegistry.java:433)
at org.gradle.internal.service.DefaultServiceRegistry$SingletonService.get(DefaultServiceRegistry.java:473)
at org.gradle.internal.service.DefaultServiceRegistry.doGet(DefaultServiceRegistry.java:287)
at org.gradle.internal.service.DefaultServiceRegistry.get(DefaultServiceRegistry.java:275)
at org.gradle.internal.service.DefaultServiceRegistry$ParentServices.getService(DefaultServiceRegistry.java:782)
at org.gradle.internal.service.DefaultServiceRegistry$CompositeProvider.getService(DefaultServiceRegistry.java:727)
at org.gradle.internal.service.DefaultServiceRegistry$CompositeProvider.getService(DefaultServiceRegistry.java:727)
at org.gradle.internal.service.DefaultServiceRegistry$DefaultLookupContext.find(DefaultServiceRegistry.java:915)
at org.gradle.internal.service.DefaultServiceRegistry.doGet(DefaultServiceRegistry.java:285)
at org.gradle.internal.service.DefaultServiceRegistry.get(DefaultServiceRegistry.java:271)
at org.gradle.initialization.DefaultGradleLauncherFactory.(DefaultGradleLauncherFactory.java:56)
at org.gradle.internal.service.scopes.GlobalScopeServices.createGradleLauncherFactory(GlobalScopeServices.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.gradle.internal.service.DefaultServiceRegistry.invoke(DefaultServiceRegistry.java:317)
at org.gradle.internal.service.DefaultServiceRegistry.access$1000(DefaultServiceRegistry.java:53)
at org.gradle.internal.service.DefaultServiceRegistry$FactoryMethodService.invokeMethod(DefaultServiceRegistry.java:609)
at org.gradle.internal.service.DefaultServiceRegistry$FactoryMethodService.create(DefaultServiceRegistry.java:594)
at org.gradle.internal.service.DefaultServiceRegistry$ManagedObjectProvider.getInstance(DefaultServiceRegistry.java:433)
at org.gradle.internal.service.DefaultServiceRegistry$SingletonService.get(DefaultServiceRegistry.java:473)
at org.gradle.internal.service.DefaultServiceRegistry$FactoryMethodService.assembleParameters(DefaultServiceRegistry.java:601)
at org.gradle.internal.service.DefaultServiceRegistry$FactoryMethodService.create(DefaultServiceRegistry.java:593)
at org.gradle.internal.service.DefaultServiceRegistry$ManagedObjectProvider.getInstance(DefaultServiceRegistry.java:433)
at org.gradle.internal.service.DefaultServiceRegistry$SingletonService.get(DefaultServiceRegistry.java:473)
at org.gradle.internal.service.DefaultServiceRegistry.doGet(DefaultServiceRegistry.java:287)
at org.gradle.internal.service.DefaultServiceRegistry.get(DefaultServiceRegistry.java:271)
at org.gradle.tooling.internal.provider.DefaultConnection.(DefaultConnection.java:49)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at org.gradle.internal.reflect.DirectInstantiator.newInstance(DirectInstantiator.java:39)
at org.gradle.internal.service.ServiceLocator$ServiceFactory.newInstance(ServiceLocator.java:168)
at org.gradle.internal.service.ServiceLocator$ServiceFactory.create(ServiceLocator.java:162)
at org.gradle.tooling.internal.consumer.loader.DefaultToolingImplementationLoader.create(DefaultToolingImplementationLoader.java:59)
at org.gradle.tooling.internal.consumer.loader.CachingToolingImplementationLoader.create(CachingToolingImplementationLoader.java:40)
at org.gradle.tooling.internal.consumer.loader.SynchronizedToolingImplementationLoader.create(SynchronizedToolingImplementationLoader.java:40)
at org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.onStartAction(LazyConsumerActionExecutor.java:98)
at org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.run(LazyConsumerActionExecutor.java:81)
at org.gradle.tooling.internal.consumer.connection.ProgressLoggingConsumerActionExecutor.run(ProgressLoggingConsumerActionExecutor.java:58)
at org.gradle.tooling.internal.consumer.connection.LoggingInitializerConsumerActionExecutor.run(LoggingInitializerConsumerActionExecutor.java:44)
at org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(DefaultAsyncConsumerActionExecutor.java:55)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Once, 5 months ago
52 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.