Hi all,
I’m trying to build my first android application so I’m new to this technology. I’m not sure which information is relevant to include so please ask and I’ll supply.
I’m using cordova and when I run the command cordova build android
, the build fails for the task ‘:app:generateDebugBuildConfig’. I searched long and hard online for someone with the same issue to find a solution but without success.
I have the following environment variables:
User variable name= ANDROID_HOME , value= C:\Users\MortZ\AppData\Local\Android\Sdk
System variable name= _JAVA_OPTIONS , value= -Xmx512M
And I have the Sdk/tools and Sdk/platform-tools folders added to my Path.
I attached a screenshot of the output of the command cordova build android
.
Thanks in advance for any help!