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

前端 未结 4 1603
孤街浪徒
孤街浪徒 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:15

    In my case this was caused by a wrong value in your config.xml for android-versionCode

    This value should be numerical only.

提交回复
热议问题