The Cordova environment cannot refresh the problem in time when the apk content is packaged through AndroidStudio.

the Vue project npm run build to the www directory of the cordova project. After creating the Android environment, the whole process of packaging apk through AndroidStudio is extremely smooth. All models are installed successfully and run smoothly. But the content of my Vue project has changed. After going through the process again, the apk typed by AS is still the previous content. I put the content of the www file on Tomcat to run the content is the latest, but APK did not refresh the latest content, which god can give the answer, thank you, online and so on.

Jul.08,2021

you will not pull new content from the www directory if you package it with Android Studio. You need to use cordova's cli, that is, cordova build android. If you need the release version, add-- release.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb653c-25c6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb653c-25c6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?