Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

JDK 14 causes build bug

未關閉
#1,596 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
25/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
android, groovy, java

研究方向

先從報告中引用的 Gradle wrapper 設定開始,在 JDK 14 下重現故障,然後比對連結的 Gradle 相容性問題。完成的標準是 NativeScript Android 專案能在 JDK 14 下成功建置,且必要的 wrapper 變更已記錄或套用。

由索引模型根據 Issue 內容生成。

描述

feature

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?

主要語言
C++
星號
563
分支
144
平均合併
10 小時 45 分鐘
30 天內合併 PR
11

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

NativeScript/android 的其他 Issue

查看 NativeScript/android 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。