Cordova Android build error “Cannot read property 'length' of undefined”

后端 未结 4 1932
误落风尘
误落风尘 2021-01-14 03:46

I have an older cordova project that I am updating. As a part of this process, I removed the android platform and readded it.

Now when I try to build the project I g

4条回答
  •  情话喂你
    2021-01-14 03:54

    The problem was that my gradle version was 2.1 where Cordova wanted 3.2. Updating Android Studio (It was at 2.1) and making sure the environment variables are upto date was the main trick to get it to work again.

提交回复
热议问题