Heim  >  Fragen und Antworten  >  Hauptteil

Probleme mit Android Studio und Quasar

Ich arbeite mit Quasar. Ich versuche das Projekt mit dem folgenden Befehl zu starten:

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

Aber wenn ich den ersten Befehl eingebe, erhalte ich diese Fehlermeldung

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 Tage vor643

Antworte allen(1)Ich werde antworten

  • P粉333395496

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

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

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

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

    Antwort
    0
  • StornierenAntwort