android icon indicating copy to clipboard operation
android copied to clipboard

JDK 14 causes build bug

Open vytautas-pranskunas- opened this issue 5 years ago • 2 comments

I have upgraded JDK to 14 ant project stoped building. It gets this error:

Could not initialize class org.codehaus.groovy.runtime.InvokerHelper and Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7

after some research i found this issue: https://github.com/gradle/gradle/issues/10248

they are sying that gradle need to be updated throuh gradle-wrapper. Can you tell me how i can do it in nativescript project?

vytautas-pranskunas- avatar Mar 26 '20 13:03 vytautas-pranskunas-

How do you think when this can get answered or fixed? I am blocked now with developemnt because since i am not JAVA guy do not how to proceed :(

vytautas-pranskunas- avatar Mar 26 '20 14:03 vytautas-pranskunas-

BTW i installed 6.3 gradle and added to enviornment variables but looks like nativescript uses 3.5.1 anyway, because in that issue they are syaing tha upgrading Gradle should be enough

vytautas-pranskunas- avatar Mar 26 '20 14:03 vytautas-pranskunas-