Android files outdated on build

Hi there,

I am pretty new to Framework7 / Cordova and I love it :slight_smile:

I got one thing that puzzles me I would like to understand better. I am struggeling with outdated Android HTML-Files when building the project.

When building the project with:

npm run build-cordova-android and staring it with:
framework7 cordova run android

the Android webviews seems to be outdated.

Inspecting Android inside Chrome with

chrome://inspect

shows me old files are loaded inside the Android emulator at file://android_asset/www/index.html.

Removing the platform Android and adding it again seem to fix this.

I once read I only have to touch

/www/index.html

and Framework7 / Cordova will take care of building the rest on it’s own?

I think I might be on the wrong way or missing some commands here and there maybe?

Thanks for helping me out or pointing me to the right direction why the Android files might be outdated.

Oliver

Hi there,

I just missed a clean and prepare statement to get all updated again.

Issue, which was not a real issue, is resolved.

Thanks,
Oliver