首页  >  问答  >  正文

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 天前641

全部回复(1)我来回复

  • P粉333395496

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

    我只是运行额外的“--ide”,例如:

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

    它们是开放的 Android Studio,然后您可以测试它或为 Play Market 构建它:)

    回复
    0
  • 取消回复