Gradle 5.2 not supported by idea and 4.4.2 error?Android Studio - Error:Unable to load class 'org.slf4j.LoggerFactory'How to import build.gradle into IntelliJWhat is Gradle in Android Studio?How to solve this android gradle issue?Gradle failed - unable to find method com.google.common.io.CharSource.readLinesGradle build failing after update to 3.0Android Studio 2.3 gradle errorGradle sync failed after switching to 3.0 canary 5Gradle Sync Failed in Android Studio 3.0 Canary 5Error:Unable to find method 'com.android.build.gradle.api.BaseVariant.getOutputs()Ljava/util/List; Android studio 3Intellij 2018.2: Not able to SYNC Gradle 1.9 projectsGradle project sync error after upgrading Gradle to version, but others work well
What is the word for reserving something for yourself before others do?
Arrow those variables!
Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?
What is the intuition behind short exact sequences of groups; in particular, what is the intuition behind group extensions?
RG-213 Cable with electric strained wire as metallic shield of Coaxial cable
intersection of two sorted vectors in C++
I'm flying to France today and my passport expires in less than 2 months
How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?
Does a druid starting with a bow start with no arrows?
Facing a paradox: Earnshaw's theorem in one dimension
What mechanic is there to disable a threat instead of killing it?
What to put in ESTA if staying in US for a few days before going on to Canada
How could indestructible materials be used in power generation?
A reference to a well-known characterization of scattered compact spaces
Can one be a co-translator of a book, if he does not know the language that the book is translated into?
Why is consensus so controversial in Britain?
Should I tell management that I intend to leave due to bad software development practices?
How do conventional missiles fly?
AES: Why is it a good practice to use only the first 16bytes of a hash for encryption?
How can I tell someone that I want to be his or her friend?
How to draw the figure with four pentagons?
What's the point of deactivating Num Lock on login screens?
Took a trip to a parallel universe, need help deciphering
Why does Kotter return in Welcome Back Kotter
Gradle 5.2 not supported by idea and 4.4.2 error?
Android Studio - Error:Unable to load class 'org.slf4j.LoggerFactory'How to import build.gradle into IntelliJWhat is Gradle in Android Studio?How to solve this android gradle issue?Gradle failed - unable to find method com.google.common.io.CharSource.readLinesGradle build failing after update to 3.0Android Studio 2.3 gradle errorGradle sync failed after switching to 3.0 canary 5Gradle Sync Failed in Android Studio 3.0 Canary 5Error:Unable to find method 'com.android.build.gradle.api.BaseVariant.getOutputs()Ljava/util/List; Android studio 3Intellij 2018.2: Not able to SYNC Gradle 1.9 projectsGradle project sync error after upgrading Gradle to version, but others work well
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
So I was getting the error in this post. I tried upgrading gradle and got another error relating to using an unsupported version of gradle, so I went back to the 4.4.2 version.
Now, I know this is a duplicate of the other question but the problem still exists and has not been solved for the newer versions of gradle and idea. Also I do not want to use a wrapper.
Error I receive:
Unable to load class 'org.slf4j.LoggerFactory'.
Possible causes for this unexpected error include:<ul><li>Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)</li><li>The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)</li><li>Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.</li></ul>In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
Gradle version: 4.4.2
IntelliJ IDEA version: 2018.3.5
You can find a test project here to reproduce the issue. Keep in mind the above versions.
gradle intellij-idea
add a comment |
So I was getting the error in this post. I tried upgrading gradle and got another error relating to using an unsupported version of gradle, so I went back to the 4.4.2 version.
Now, I know this is a duplicate of the other question but the problem still exists and has not been solved for the newer versions of gradle and idea. Also I do not want to use a wrapper.
Error I receive:
Unable to load class 'org.slf4j.LoggerFactory'.
Possible causes for this unexpected error include:<ul><li>Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)</li><li>The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)</li><li>Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.</li></ul>In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
Gradle version: 4.4.2
IntelliJ IDEA version: 2018.3.5
You can find a test project here to reproduce the issue. Keep in mind the above versions.
gradle intellij-idea
Please share the Minimal, Complete, and Verifiable example.
– CrazyCoder
Mar 22 at 2:04
How did you generate the ipr/iml files? Make sure you didn't usegradle idea
, see stackoverflow.com/a/42518961/104891. What happens when you importbuild.gradle
? Where do you see the error? What is the exact error you get with this specificbuild.gradle
?
– CrazyCoder
Mar 22 at 9:38
> Gradle version: 4.4.2. Where did you get this version? IDEA generates.idea
directory, not the legacy.ipr
files.
– CrazyCoder
Mar 22 at 9:43
4.4-2 Linux package version is not the same as 4.4.2. I've imported the project using Gradle 4.4 without any issues.
– CrazyCoder
Mar 22 at 9:52
Try using the release copy from gradle.org/releases instead. Note that there is no 4.4.2 release.
– CrazyCoder
Mar 22 at 9:56
add a comment |
So I was getting the error in this post. I tried upgrading gradle and got another error relating to using an unsupported version of gradle, so I went back to the 4.4.2 version.
Now, I know this is a duplicate of the other question but the problem still exists and has not been solved for the newer versions of gradle and idea. Also I do not want to use a wrapper.
Error I receive:
Unable to load class 'org.slf4j.LoggerFactory'.
Possible causes for this unexpected error include:<ul><li>Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)</li><li>The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)</li><li>Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.</li></ul>In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
Gradle version: 4.4.2
IntelliJ IDEA version: 2018.3.5
You can find a test project here to reproduce the issue. Keep in mind the above versions.
gradle intellij-idea
So I was getting the error in this post. I tried upgrading gradle and got another error relating to using an unsupported version of gradle, so I went back to the 4.4.2 version.
Now, I know this is a duplicate of the other question but the problem still exists and has not been solved for the newer versions of gradle and idea. Also I do not want to use a wrapper.
Error I receive:
Unable to load class 'org.slf4j.LoggerFactory'.
Possible causes for this unexpected error include:<ul><li>Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)</li><li>The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)</li><li>Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.</li></ul>In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
Gradle version: 4.4.2
IntelliJ IDEA version: 2018.3.5
You can find a test project here to reproduce the issue. Keep in mind the above versions.
gradle intellij-idea
gradle intellij-idea
edited Mar 22 at 9:42
TheChubbyPanda
asked Mar 21 at 21:57
TheChubbyPandaTheChubbyPanda
618525
618525
Please share the Minimal, Complete, and Verifiable example.
– CrazyCoder
Mar 22 at 2:04
How did you generate the ipr/iml files? Make sure you didn't usegradle idea
, see stackoverflow.com/a/42518961/104891. What happens when you importbuild.gradle
? Where do you see the error? What is the exact error you get with this specificbuild.gradle
?
– CrazyCoder
Mar 22 at 9:38
> Gradle version: 4.4.2. Where did you get this version? IDEA generates.idea
directory, not the legacy.ipr
files.
– CrazyCoder
Mar 22 at 9:43
4.4-2 Linux package version is not the same as 4.4.2. I've imported the project using Gradle 4.4 without any issues.
– CrazyCoder
Mar 22 at 9:52
Try using the release copy from gradle.org/releases instead. Note that there is no 4.4.2 release.
– CrazyCoder
Mar 22 at 9:56
add a comment |
Please share the Minimal, Complete, and Verifiable example.
– CrazyCoder
Mar 22 at 2:04
How did you generate the ipr/iml files? Make sure you didn't usegradle idea
, see stackoverflow.com/a/42518961/104891. What happens when you importbuild.gradle
? Where do you see the error? What is the exact error you get with this specificbuild.gradle
?
– CrazyCoder
Mar 22 at 9:38
> Gradle version: 4.4.2. Where did you get this version? IDEA generates.idea
directory, not the legacy.ipr
files.
– CrazyCoder
Mar 22 at 9:43
4.4-2 Linux package version is not the same as 4.4.2. I've imported the project using Gradle 4.4 without any issues.
– CrazyCoder
Mar 22 at 9:52
Try using the release copy from gradle.org/releases instead. Note that there is no 4.4.2 release.
– CrazyCoder
Mar 22 at 9:56
Please share the Minimal, Complete, and Verifiable example.
– CrazyCoder
Mar 22 at 2:04
Please share the Minimal, Complete, and Verifiable example.
– CrazyCoder
Mar 22 at 2:04
How did you generate the ipr/iml files? Make sure you didn't use
gradle idea
, see stackoverflow.com/a/42518961/104891. What happens when you import build.gradle
? Where do you see the error? What is the exact error you get with this specific build.gradle
?– CrazyCoder
Mar 22 at 9:38
How did you generate the ipr/iml files? Make sure you didn't use
gradle idea
, see stackoverflow.com/a/42518961/104891. What happens when you import build.gradle
? Where do you see the error? What is the exact error you get with this specific build.gradle
?– CrazyCoder
Mar 22 at 9:38
> Gradle version: 4.4.2. Where did you get this version? IDEA generates
.idea
directory, not the legacy .ipr
files.– CrazyCoder
Mar 22 at 9:43
> Gradle version: 4.4.2. Where did you get this version? IDEA generates
.idea
directory, not the legacy .ipr
files.– CrazyCoder
Mar 22 at 9:43
4.4-2 Linux package version is not the same as 4.4.2. I've imported the project using Gradle 4.4 without any issues.
– CrazyCoder
Mar 22 at 9:52
4.4-2 Linux package version is not the same as 4.4.2. I've imported the project using Gradle 4.4 without any issues.
– CrazyCoder
Mar 22 at 9:52
Try using the release copy from gradle.org/releases instead. Note that there is no 4.4.2 release.
– CrazyCoder
Mar 22 at 9:56
Try using the release copy from gradle.org/releases instead. Note that there is no 4.4.2 release.
– CrazyCoder
Mar 22 at 9:56
add a comment |
1 Answer
1
active
oldest
votes
Using the official gradle install method with SDKMAN!, the problem goes away.
The linux gradle package must be dodgy and hence IDEA is complaining.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55289880%2fgradle-5-2-not-supported-by-idea-and-4-4-2-error%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Using the official gradle install method with SDKMAN!, the problem goes away.
The linux gradle package must be dodgy and hence IDEA is complaining.
add a comment |
Using the official gradle install method with SDKMAN!, the problem goes away.
The linux gradle package must be dodgy and hence IDEA is complaining.
add a comment |
Using the official gradle install method with SDKMAN!, the problem goes away.
The linux gradle package must be dodgy and hence IDEA is complaining.
Using the official gradle install method with SDKMAN!, the problem goes away.
The linux gradle package must be dodgy and hence IDEA is complaining.
answered Mar 22 at 12:43
TheChubbyPandaTheChubbyPanda
618525
618525
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55289880%2fgradle-5-2-not-supported-by-idea-and-4-4-2-error%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Please share the Minimal, Complete, and Verifiable example.
– CrazyCoder
Mar 22 at 2:04
How did you generate the ipr/iml files? Make sure you didn't use
gradle idea
, see stackoverflow.com/a/42518961/104891. What happens when you importbuild.gradle
? Where do you see the error? What is the exact error you get with this specificbuild.gradle
?– CrazyCoder
Mar 22 at 9:38
> Gradle version: 4.4.2. Where did you get this version? IDEA generates
.idea
directory, not the legacy.ipr
files.– CrazyCoder
Mar 22 at 9:43
4.4-2 Linux package version is not the same as 4.4.2. I've imported the project using Gradle 4.4 without any issues.
– CrazyCoder
Mar 22 at 9:52
Try using the release copy from gradle.org/releases instead. Note that there is no 4.4.2 release.
– CrazyCoder
Mar 22 at 9:56