#1 2017-03-15 23:33:52

edunt
Member
Registered: 2015-12-21
Posts: 258

Error Message While Producing APK

Hi David,

I tried to produce .*apk file and I got thefollowingerror message: What could cause it?

Fetching plugin "cordova-plugin-network-information" via npm
Installing "cordova-plugin-network-information" for android
ANDROID_HOME=C:\Users\User\AppData\Local\Android\android-sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_102
Subproject Path: CordovaLib
'Automation' is not recognized as an internal or external command,
operable program or batch file.
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
Error: cmd: Command failed with exit code 1 Error output:
'Automation' is not recognized as an internal or external command,
operable program or batch file.
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain

Thanks

Offline

#2 2017-03-16 08:02:23

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,661
Website

Re: Error Message While Producing APK

Hello edunt,

Gradle's errors to me equals to low system's resources temporal o persisting problems. I think the best you can do is to try again... if the problem persist, then try by reboot the computer, and, before build the application, close any possible heavy program (Firefox, etc.) that are running. If this doesn't work... I must refer you to the Gradle's documentation edunt: even more because because I never view that particular Gradle problem and then maybe my help is no the best.

Offline

#3 2017-03-16 09:38:42

edunt
Member
Registered: 2015-12-21
Posts: 258

Re: Error Message While Producing APK

Thanks, the issue is resolved.

Offline

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.