Why am I getting this error every time I start my IDE? I have not installed any such plugin.
I had a similar problem with a different plugin. In my case (Kubuntu, Android Studio 2020.3) the hack was delete the plugin file from
~/.local/share/Google/AndroidStudio2020.3/ZOMBI_PLUGIN_NAME.jar
I got the error after making the project:
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:dataBindingGenBaseClassesDebug'.
Parameter 'directory' is not a directory
This started after upgrading to Android Studio 3.2.1
Any ideas what this could be?
The following command worked for me.
./gradlew assembleDebug --rerun-tasks
If you get this error when using databinding its base reason is same id at one layout xml file. Can you check views ids.
I had the same error at build time and it was caused by a binding variable (that declared inside <data></data> with a Java reserved word as name. For instance <variable name="case" type="com.mydomain.Case" />
Hey I am getting this error while running the app. Please can someone tell me how to fix it?
Error:(1, 0) Gradle DSL method not found: 'uildscript()' Possible
causes:The project 'ePulse2' may be using a version of Gradle
that does not contain the method. Open
Gradle wrapper fileThe build file may be missing a Gradle
plugin. Apply Gradle plugin
You have a typo: change uildscript to buildscript. Here are the docs.
I'm compiling a project that works OK in Eclipse, and builds fine with ant, but in IntelliJ IDEA gives:
Internal groovyc error: code 1
How can I resolve this? Other error messages include:
1:35:46 PM Unknown Natures Detected
Imported projects contain unknown natures:
org.eclipse.jdt.groovy.core.groovyNature
Some settings may be lost after import.
1:43:55 PM Compilation completed with 1 error and 7 warnings in 20 sec
Groovyc: Cannot compile Groovy files: no Groovy library is defined for module
Groovy itself is installed on Linux. Adding it as a groovy compiler in settings does not affect the behavior:
> groovy --version
Groovy Version: 1.7.4 JVM: 1.6.0_24
Apparently you tried to import an Eclipse project into IDEA, and that isn't good enough. (Groovy) Eclipse comes with its own version of Groovy, whereas in IDEA, you have to add groovy-all-1.7.4.jar (or whatever version you want to use) as a compile dependency.
You have to add JAXB dependencies if you are using Groovy 2.5.3 + Java 11 (also check out Java 11 related change). Groovy comes with extra JAXB Jars so we can add them. Open 'Project Structure' dialog, then select 'Dependencies' tab and add the dependencies
Changing the project SDK from Java 15 to Java 8 seemed to have magically fixed the same problem on my machine.
Steps:
Go to File > Project structure... (may differ on Mac/Linux).
Under Project Settings, select Project.
In Project SDK: dropdown, choose a different version of the JDK installed.
Click Apply & OK at the bottom of the dialog.
** Rerun your program.
This worked for me!!
Read the log before the "Internal groovyc error: code 1", then it should show you a groovy version mismatch. Change your groovy version from the dependency list as per the log.
Ex. compile 'org.codehaus.groovy:groovy-all:2.4.11'
Move the Groovy dependency in the module settings to the top right after JDK.
I could make it work just by reestart intellij and invalidate the caches.
It can be found (for intelliJ 2018.1):
File -> Invalidate Caches/restart -> Invalidate and Restart
I found this solution which worked totally for me. You can use this link for fixing this problem
resolving-groovyc-internal-groovyc-error-code-1
I had to reinstall groovy SDK and it started working.
i was use wrong SDK ,please cheak your SDK version
I get this error when I run gradle test:
Caused by: org.gradle.api.GradleException: Could not generate test report to '/home/tjwebb/workspace/MyProject/build/reports/tests'.
Groovy 1.7.10
Gradle 1.0-m3
The weird thing is that my tests compile and run perfectly, they pass, and I get the usual output in build/reports/tests. Any ideas?
I guess this was a bug. I upgraded to gradle 1.0-m9 and it works. For some reason, m3 is the version still in the Ubuntu repositories.