Ionic Capacitor app give me lots of errors

前端 未结 5 978
自闭症患者
自闭症患者 2021-01-12 08:18

I\'m on Windows 10 and I\'ve created a Ionic 5.0.7 app with Capacitor 2.0.0.

I use this command to build app:

ionic build

After, I

5条回答
  •  攒了一身酷
    2021-01-12 09:20

    I was getting an error

    Cause: org/gradle/api/internal/java/usagecontext/LazyConfigurationUsageContext

    I solved by downgraded distributionUrl(gradle/wrapper/gradle-wrapper.properties) to https\://services.gradle.org/distributions/gradle-5.4.1-all.zip

    it will give an error if above 6+

提交回复
热议问题