首頁  >  問答  >  主體

Android Studio 和 Quasar 遇到的問題

我與類星體一起工作。 我嘗試使用以下命令啟動專案:

quasar build -m capacitor -T android
quasar dev -m capacitor -T android

但是當我插入第一個命令時,出現此錯誤

FAILURE: Build failed with an exception.

* What went wrong:
Could not initialize class org.codehaus.groovy.reflection.ReflectionCache
> Exception java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 [in thread "Daemon worker"]

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 4s


#
P粉068174996P粉068174996343 天前645

全部回覆(1)我來回復

  • P粉333395496

    P粉3333954962023-11-11 00:44:48

    我只是運行額外的“--ide”,例如:

    quasar build -m 電容器 -T android --ide

    它們是開放的 Android Studio,然後您可以測試它或為 Play Market 建立它:)

    回覆
    0
  • 取消回覆