Reputation: 1
I created a sample package with source code by using command "framework7 create --ui", then generate couples of files and folders and load them on VScode. The package is built at the following options.
It's working fine on "web" simulator (see picture A). However, runs on Android emulator, it just shows a blank white page and there are 3 errors show on console (see picture B). They mean "Failed to load resource: the server responded with a status of 404". Those missing files are "index-BjpLy5vT.css:1", "index-Bv0G57S5.js:1" & "index-BjpLy5vT.css:1".
For troubleshooting, I tried to create the package also using "framework7 create --ui" and generate the sample sources in condition "No bundler". Both "Web" & "Android" platform are working properly. Does anyone get idea what is/are the fault?
Software version
Upvotes: 0
Views: 141
Reputation: 1
I fixed the problem. The reason caused is the capacitor package at VScode. I download & install @Ionic-cli at command prompt, use "ionic capacitor sync", then "ionic capacitor run android" and working properly.
Upvotes: 0