Comments (17)
In my case, my device was connected to the internet but my computer wasn't. Connecting my computer to the internet fixed this problem.
from cordova-android.
Check your internet connection.
from cordova-android.
@weixingsun Try renaming your file from main.html
to index.html
. Cordova is trying to load index.html
, but can't find it, which is what would cause this 404.
from cordova-android.
I also encountered this problem. Find out it was because of network blocking issue in China. Once I switched the browser proxy on, 404 error disappeared.
from cordova-android.
What do you mean exactly? Where does this 404 come from? Best post a screenshot of it here. You can just paste an image from the clipboard and it will upload and embed it in the comment.
from cordova-android.
Thanks for your reply, screenshot attached. and this is the brief information
OS: MacOS High Sierra 10.13.6
Chrome Version 67.0.3396.99 (64-bit)
Android 7.0 (ZUI 3.1.117)
from cordova-android.
That's a new one for me.
How exactly did you build your app?
Does the app work on the device itself?
Can you try another Android device?
from cordova-android.
app building cmd: cordova build android --debug
app install cmd: adb install -r platforms/android/build/outputs/apk/armv7/debug/android-armv7-debug.apk
I use this app to debug a simple usb device, and it works pretty well, and I want to change a page on it
I tried another android device, the same error
Thanks for your help, I really appreciate it
from cordova-android.
Another computer then maybe?
I google the error a bit, maybe have a look at this:
https://stackoverflow.com/a/46220364/252627
Other people seem to have the same problem:
https://bugs.chromium.org/p/chromium/issues/detail?id=853525
https://stackoverflow.com/questions/51562724/inspect-edge-on-remote-devices-result-in-404-not-found
https://stackoverflow.com/a/51535351/252627
from cordova-android.
I tried on my Mac Air, Mac Pro, Windows 10, Windows 7
And I installed this app on Android 4.4, Android 7.0
All the same 404, how do I do, then ?
from cordova-android.
Difficult to say as it seems to be a Chrome bug. Find a computer with an older Chrome version maybe?
from cordova-android.
@weixingsun China blocked Google.
from cordova-android.
@weixingsun , have you got any solution. Even i am facing this issue
from cordova-android.
In my case, my device was connected to the internet but my computer wasn't. Connecting my computer to the internet fixed this problem.
In my case it was because i was running a VPN-Client
from cordova-android.
Closing since doesn’t look like a cordova bug but a connection problem.
from cordova-android.
I also encountered this problem. Find out it was because of network blocking issue in China. Once I switched the browser proxy on, 404 error disappeared.
I didnt believe at first, because google services not blocking in my Country. But I launch VPN and all works. Why?
How to check which network services is needed for chrome devtools?
I can connect to google cloud, google photos and other services via browser
from cordova-android.
Hello everyone, In my case following commands helped me to resolve the issue. I hope this helps someone.
cordova platform rm android
cordova platform add android
from cordova-android.
Related Issues (20)
- Missing privateHelpers.extractStringFromManifest method. HOT 1
- Android 14 support ? HOT 1
- Incoming Call FullScreen Intent On A Cordova Activity HOT 1
- `ErrorURL` preference is not working HOT 2
- cordova-android build tools not found issue HOT 1
- Will Cordova Android 13 support Kotlin 1.9.x ? HOT 2
- Failed to register a ServiceWorker with Cordova 10 HOT 6
- Target date for support to API34 HOT 2
- DevTools cannot display source map properly HOT 2
- cordova-android12.0.1 onRequestPermissionsResult never used HOT 1
- Cordova app on Android crashes after choosing file with native HTML file input, only on Android 13 HOT 3
- Update docs in regards to using adaptive icons with background colors HOT 3
- Splash screen icon not show at first launch HOT 1
- Execution failed for task ':app:mergeReleaseResources'. HOT 2
- Panoramic images HOT 1
- backgroundMode plugin quirks HOT 2
- Cordova undefined when AndroidInsecureFileModeEnabled set to false HOT 2
- Detected 'avdmanager' command but no 'tools\bin' directory found near. HOT 2
- Push Notifications on Android 13 and higher devices HOT 1
- Black or blank screen seen after keeping application idle and then open the application in cordova version >= 10. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-android.