Phonegap + android: 2 'www' folder in the source code: what to change?

Creating a phonegap 3 application from scratch, I add the android platform and buid + emulate.

See here, the official getting started guide: http://docs.phonegap.com/en/edge/guide_cli_index.md.html#The%20Command-line%20Interface

I am starting to change the code, and I notice that there is a folder "www" in the main directory "hello", and the other under the platforms \ android \ assets

Which one should I change?

If then I add another platform? Will my code change be transferred to another platform code?

enter image description here

+4
source share
1 answer

Change the files in the first folder "www" (in your main directory).

Each phonegap run android overwrite stuff in "platform / android".

+5
source

Source: https://habr.com/ru/post/1494765/


All Articles