I am developing an Android app using Apache Cordova 3.6.0.
I have followed the instructions available here and here to create, build and run my app.
I realized there are two folders which store HTML, CSS and JS files: www
and platforms/android/assets/www
:
According to this answer, I should modify only www
because the command $ cordova run android
will overwrite platforms/android/assets/www
.
When I run my app through ADT, the folder platforms/android/assets/www
is not updated.
How can I make ADT update this directory? What am I missing?
The linked answer is correct. You should only modify the content of the root www
folder.
But you will have to build your app before you run it to make your changes take effect in the platforms/android/assets/www
folder by running:
$ cordova build
or cordova build android
.