Sov-Ventures / xpo-source-app

Source code analyser for xpo.network
https://xpo.network
MIT License
0 stars 0 forks source link

Could not initialize class org.jetbrains.kotlin.gradle.internal.KotlinSourceSetProviderImplKt #14

Open Doc999tor opened 5 years ago

Doc999tor commented 5 years ago

Building failure Windows 10, Version 1903, Build 19025.1

$ java --version
java 13.0.1 2019-10-15
Java(TM) SE Runtime Environment (build 13.0.1+9)
Java HotSpot(TM) 64-Bit Server VM (build 13.0.1+9, mixed mode, sharing)
$ gradle --version

------------------------------------------------------------
Gradle 6.0
------------------------------------------------------------

Build time:   2019-11-08 18:12:12 UTC
Revision:     0a5b531749138f2f983f7c888fa7790bfc52d88a

Kotlin:       1.3.50
Groovy:       2.5.8
Ant:          Apache Ant(TM) version 1.10.7 compiled on September 1 2019
JVM:          13.0.1 (Oracle Corporation 13.0.1+9)
OS:           Windows 10 10.0 amd64

gradle build -Penv=production FAILURE: Build failed with an exception.

* Where:
Build file 'C:\www\xpo-source-app\build.gradle' line: 21

* What went wrong:
A problem occurred evaluating root project 'xpo-source-app'.
> java.lang.ExceptionInInitializerError (no error message)
dadvir commented 4 years ago

I'm getting this error too. Latest macOS Catalina 10.15.1 (19B88), java version "1.8.0_101", Gradle 6.0.1.

Ledivin commented 4 years ago

Did you guys ever figure out the cause or fix? My issue is not related to Prism-Labs, but this is the only thread on the internet I can find with this error.

Could not initialize class org.jetbrains.kotlin.gradle.internal.KotlinSourceSetProviderImplKt

rtsdemo123 commented 4 years ago

Did someone find a solution to this issue, I'm trying to migrate an old project from android-support to androidx building it using macos

dadvir commented 4 years ago

I removed the app and its setting on my user and then re-installed it.

Franceshe commented 4 years ago

I meet with the same error, anyone found solution?

Gradle 6.4
Build time:   2020-05-05 19:18:55 UTC
Revision:     42f7c3d0c3066b7b38bd0726760d4881e86fd19f
Kotlin:       1.3.71
Groovy:       2.5.10
Ant:          Apache Ant(TM) version 1.10.7 compiled on September 1 2019
JVM:          13.0.2 (Oracle Corporation 13.0.2+8)
OS:           Mac OS X 10.14.6 x86_64`
Franceshe commented 4 years ago

I removed the app and its setting on my user and then re-installed it.

Tried this method and no luck lol

vrjuliao commented 4 years ago

Maybe the Gradle version is not good for this work. So, try use grade 5.x to do that build.

csandhack commented 3 years ago

Open build.gradle (Module) Update: this | ext.kotlin_version = '1.2.30' to | ext.kotlin_version = '1.4.20' (i-e) latest version