I'm trying to open gradle project in intellij idea v 2016.2 but I'm getting following error:
Resolve Error
No such file or directory
It looks like there was some issues with installed gradle distribution. After I updated brew and gradle issue was resolved.
Related
I have been trying to upgrade gradle plugin and i am running into proguard issues after the plugin update.
Proguard is removing all the required classes and i am facing run time issue.
Can anyone suggest me on debugging the proguard issues.
I have tried the following suggestion given in this link but failed to resolve the issues.
Up from 6.6.1 to 7.2 version of gradle ruined all the build.
My $JAVA_HOME, gradle version, java version:
My idea's settings:
Deleting .idea, restarting not helpful at all.
Also, running terminal from Idea shows error during gradle -version command:
Where should I start at, opinions?
When importing a Grails 3+ project to IntelliJ IDEA Ultimate, the Gradle build stops at “Starting Gradle Daemon...”.
Screenshot of IntelliJ build window
This happens when a new Grails 3 project is created using the command “grails create-app projectName” and imported to IntelliJ IDEA using Gradle.
My system configuration:
macOS Catalina
IntelliJ IDEA Ultimate 2020.1
Java 8
Grails 3.3.5
Groovy 2.4.15
The Gradle build fails with no other error messages.
“gradle”, “./gradlew”, “./gradlew bootRun” commands work as expected on the terminal.
Check the Gradle JVM which is set for project and make sure it is compatible for the Gradle version used in project:
Try setting different JDKs including the 1.8 JDK there.
i have tried so many diffrent solutions on stack / git , none of them worked so far ..
So the problem is when i'm trying to build my apk on release mode ofc , they shoot me with a problem which is basically about some compatibility i guess .
* What went wrong:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.10 and higher.
The following dependencies do not satisfy the required version:
root project 'android' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.71
this problem only showed up after installing this package : folder_file_saver
Any help would be appreciated .
ps: I ran flutter pub get .. and pub upgrade .. everything went well ..
Well flutter is not upgraded to the last version , i like that current version more .
I was having the same issue. The solution that worked for me was reopening the project and ignoring the Plugin Update Recommendation at the bottom right of the screen.
Once I stopped the clicking update, the error went away.
I have recently bought a macbook and tried to install Gradle with brew install gradle
When I do gradle -v I get my Gradle specifications with no problem, bit when I try to run a Gradle task on my project I got this error:
org.gradle.api.tasks.SourceSetOutput.getClassesDir()Ljava/io/File;
On windows I usually compile the project by doing ./gradlew task_name, but the ./gradlew isn't working here on Mac OS.
What Im I doing wrong?
SourceSetOutput.getClassesDir() was deprecated in Gradle 4 and removed in Gradle 5. It's now SourceSetOutput.getClassesDirs(). I'm guessing you are running a newer version of Gradle on the macbook than you were running on the Windows box. A simple fix is to downgrade the Gradle version.
If you want to actually fix your build to work with Gradle 5+ I suggest you run with --stacktrace on the command line to find out what's using the old API (ie if it's your Gradle script or one of your plugins).
Perhaps a fix is as simple as upgrading one or two of your plugins to a new version which supports Gradle 5+