Cordova - Error code 1 for command | Command failed for

后端 未结 9 1521
刺人心
刺人心 2020-12-03 01:16

I\'m new on cordova, so if my question is not relevant, forgive me. i have a cordova project in my Windows 7 x64 machine. Yesterday i was build my cordova app via cord

9条回答
  •  情深已故
    2020-12-03 02:07

    I had the same error code but different issue

    Error: /Users/danieloram/desktop/CordovaProject/platforms/android/gradlew: Command failed with exit code 1 Error output: Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 52.0

    To resolve this issue I opened the Android SDK Manager, uninstalled the latest Android SDK build-tools that I had (24.0.3) and installed version 23.0.3 of the build-tools.

    My cordova app then proceeded to build successfully for android.

提交回复
热议问题