#1 2016-08-11 17:44:43

jack
Member
Registered: 2016-08-11
Posts: 5

"cordova" is not recognized as an internal or external command

hi
i correct install all requried software (cordova - node js- git , etc)
i make a app with app builder and save it.
then build it.
But when i execute the .bat file , show error ...


"cordova" is not recognized as an internal or external command,operable program or batch file

please help me

Last edited by jack (2016-08-11 17:46:41)

Offline

#2 2016-08-11 17:50:07

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

Re: "cordova" is not recognized as an internal or external command

Hello Jack,

I am preparing right now an answer to your private message, but it's good that you finally decide that a question like this be published here in the forum for everyone. The below is my answer to your message and to your question/problem too:

Hello Jack,

Thanks for your interest in my work. Hope App Builder can be useful
for you and you consider to buy one or more licenses of it in order to
use it without limitations and support the project at the same time.

About your question, that error message means the Cordova executable
is not in your system environment path variable. This is required and
therefore you must set the refered variable accordingly.

In principle the Cordova installation made the appropiate changes in the
path variable, but, for some reason this is not your case. In my system
Cordova is placed in the below directory:

C:\Users\[User name]\AppData\Roaming\npm\node_modules\cordova\bin

Then you must add such path into your PATH environment variable. If you
don't know how to proceed, take a look at this tutorial:

http://www.computerhope.com/issues/ch000549.htm

Hope this information can be useful for you Jack.

Hope this information can be useful for you Jack.

Offline

#3 2016-08-11 23:30:28

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

Re: "cordova" is not recognized as an internal or external command

Hi Jack,

Could you follow this steps to setup android environment for your computer

https://evothings.com/doc/build/cordova … ndows.html

Offline

#4 2016-08-12 15:07:12

jack
Member
Registered: 2016-08-11
Posts: 5

Re: "cordova" is not recognized as an internal or external command

thanks all
my problem is solved

Offline

#5 2016-08-12 15:09:05

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

Re: "cordova" is not recognized as an internal or external command

Hello Jack,

jack wrote:

thanks all
my problem is solved

Glad to know! Finally you solve the problem by adding the Cordova binary location to the environment PATH variable?

Offline

#6 2016-10-11 19:30:16

jack
Member
Registered: 2016-08-11
Posts: 5

Re: "cordova" is not recognized as an internal or external command

yes , i solved it

now my new problem is :

no installed build tools found. install the android build tools version 19.1.0 or higher

but i correct install it

Last edited by jack (2016-10-11 19:30:43)

Offline

#7 2016-10-11 19:34:44

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

Re: "cordova" is not recognized as an internal or external command

Hello jack,

Assert you have installed the appropiate tools from the Android SDK manager. Press Win+R and then type "android" (without quotes) to open the Android SDK manager. Here is my current installation and they works fine. Also, upgrade your Cordova version if possible.

xa9swJu.png

Offline

#8 2016-10-15 20:44:06

jack
Member
Registered: 2016-08-11
Posts: 5

Re: "cordova" is not recognized as an internal or external command

please see this

P4phplN.png

Offline

#9 2016-10-15 20:48:05

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

Re: "cordova" is not recognized as an internal or external command

Hello Jack,

jack wrote:

please see this

This is not an App Builder problem, but (apparently) a problem with your Cordova/Java installation. Are you tried by simply restart the computer or close some heavy programs like the internet browser? Sometimes, and commonly in more or less low resources computers, Java can cause problems while starts the required stuff.

Offline

#10 2016-10-21 12:40:17

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

Re: "cordova" is not recognized as an internal or external command

Hello,

Taking a look again at the console's error messages, apparently you have no installed the appropiate stuff for the Android SDK, in particular de Android's build tools. Please, open your Android SDK manager (press WIN+R and type "android" to open it) and check the Android's build tools are installed. Below you can see an screenshot of my own Android's manager:

MW6muap.png

Offline

#11 2017-01-23 15:12:51

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

Re: "cordova" is not recognized as an internal or external command

Dear visitor,

If you find this forum's thread after searching in Google, you must know we are talking here about App Builder:

App Builder is the first and unique visual development environment that allow you to create, with or without programming knowledge, HTML5 apps, WebApps, Progressive WebApps, WebExtensions and Hybrid apps for both mobile and desktop platforms.

Feel free to try it for free now! www.getappbuilder.com

https://www.youtube.com/watch?v=VbCD0-W3ryo

Offline

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.