search

Home  >  Q&A  >  body text

Problems with Android Studio and Quasar

I work with Quasar. I try to start the project using the following command:

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

But when I insert the first command, I get this error

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粉068174996446 days ago755

reply all(1)I'll reply

  • P粉333395496

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

    I just run the extra "--ide", for example:

    quasar build -m capacitor -T android --ide

    They are open to Android Studio, then you can test it or build it for the Play Market :)

    reply
    0
  • Cancelreply