我與類星體一起工作。 我嘗試使用以下命令啟動專案:
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
我只是運行額外的“--ide”,例如:
quasar build -m 電容器 -T android --ide
它們是開放的 Android Studio,然後您可以測試它或為 Play Market 建立它:)