Cordova build not loading statics
I just ran into this problem: I am loading images using
src="statics/logo.jpg"and when I run
quasar dev, the images are displaying just fine, but when I build the APK using
cordova build android, the images are not displayed on the device. What can be wrong?
Tried moving the images to
/assets, didn’t work either.
Hi, Have you read this? http://quasar-framework.org/guide/app-handling-static-assets.html
Yes, and I tried
:src="statics/logo.jpg", nothing worked. I also tried moving the file to
Hello. I´ve been having some issues too about cordova build. But not only with logos and images. When I generate the apk file and install it in the device, none of the changes are updated. Not even texts, labels, buttons, etc. Besides cordova build android, is there anything else I should do?
@okmkey45 If my understanding is correct, then let
/be the root of your quasar project.
/cordova/www/is symlink to
/dist/, and running
cordova buildwill simply create an apk based on the contents of
You first must run
quasar buildto generate the files for
/cordova/www/), and then cd into your cordova directory to run
cordova build(to build the apk based off of the contents in