How to fix “build.gradle” problem in a Cordova project?

前端 未结 4 1602
孤街浪徒
孤街浪徒 2020-12-10 17:26
$ cordova build android --debug
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=undefined (recommended setting)
ANDROID_HOME=E:\\andoidSDK (DEPRECATED)
S         


        
4条回答
  •  攒了一身酷
    2020-12-10 18:07

    I changed

    classpath 'com.android.tools.build:gradle:3.3.0'

    to

    classpath 'com.android.tools.build:gradle:3.0.1'

    in /platforms/android/build.gradle file. My problem is solved.

提交回复
热议问题