K
K
Konstantin2017-04-06 08:14:53
JavaScript
Konstantin, 2017-04-06 08:14:53

Android phonegap sample app won't run?

I decided to make an application on phonegap
installed and saw there are a couple of examples.
all examples are successfully created and by the command phonegap run android
run on my android phone! BUT except for one thing: StarTrack prntscr.com/et0sp4
starts in the browser, on the mobile phonegap on the iphone it starts ...
but with the phonegap run android command, the same error occurs:

C:\phonegap\startrack>phonegap run android
[phonegap] executing 'cordova run android ' ...
Error: Android SDK not found. Make sure that it is installed. If it is not at th
e default location, set the ANDROID_HOME environment variable.

Although other projects examples compile without problems
android studio costs, screenshots sdk
prntscr.com/et0v31
prntscr.com/et0v87
prntscr.com/et0vhi
prntscr.com/et0vjg
prntscr.com/et0vla
my android fly chic 1 android 4.2

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Taras Fomin, 2017-04-06
@Tarik02

Error: Android SDK not found. Make sure that it is installed. If it is not at th
e default location, set the ANDROID_HOME environment variable.

Try setting the ANDROID_HOME variable to the Android SDK root folder.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question