0

I am trying to create android application from angular app using cordova. But every time I am getting error

Cannot read property 'version' of null enter image description here

I have followed the COrdova documentation and also checked the java version I am using is jdk1.8. I have added Java, Gradle, Android all in path variables. See the screenshot for reference. But still the issue persist.

enter image description here

enter image description here

enter image description here

4
  • Common problem for me, but i prefer to create release builds using Android studio. Thats why i have installed Android studio - usually that fixes those issues =) But thats not a solution ofc
    – Developer
    May 23, 2021 at 18:21
  • @Cheese Actually I am not an Android developer and the project for which I am using Cordova as a workaround for the above fact is not that of worth to hire Android developer.
    – Shail
    May 25, 2021 at 2:50
  • me too, but installing the Android Studio usually fixes the ENV settings issues, but that is just a workaround that i use sometimes
    – Developer
    May 25, 2021 at 3:52
  • @Cheese I have tried that option also and have downloaded sdk till android 9 but still no luck.
    – Shail
    May 26, 2021 at 4:13

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.