Answer the question
In order to leave comments, you need to log in
Teach me how to work with Apache Cordova?
I have a small application. written in the Phaser engine. I want to test it on android. I installed Cordova for myself, according to the instructions from the official site, I collect the application:
C:\> cordova create test
C:\> cd test
C:\> cordova platform add android --save
C:\> cordova build android
C:\> cordova emulate android
Answer the question
In order to leave comments, you need to log in
In short, PhoneGap and Cordova can't do anything with pre-existing HTML, CSS, and JS. All they can do is create one single HelloWorld. Which then needs to be ruled by hands, i.e. transfer all your assets there.
At the same time, Cordova is stupid - if Android Studio and Java Machine were not installed by default (on drive C in ProgramFiles), then it does not find the ANDROID_HOME and PATH variables in the registry and every time (!) It has to indicate with its hands where I installed both.
PhoneGap - turned out to be a stupid add-on for cordova, and although there is a gui, it's a little less than useless. But he offers to build in .apk for money. Well done Adobe :-)
Hmm... I thought everything would be easier.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question