Coder Social home page Coder Social logo

Comments (17)

girotomas avatar girotomas commented on May 28, 2024 4

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.

chiefbrob avatar chiefbrob commented on May 28, 2024 2

Check your internet connection.

from cordova-android.

Menardi avatar Menardi commented on May 28, 2024 1

@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.

uzxmx avatar uzxmx commented on May 28, 2024 1

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.

janpio avatar janpio commented on May 28, 2024

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.

weixingsun avatar weixingsun commented on May 28, 2024

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)
cordova_inspect

from cordova-android.

janpio avatar janpio commented on May 28, 2024

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.

weixingsun avatar weixingsun commented on May 28, 2024

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.

janpio avatar janpio commented on May 28, 2024

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.

weixingsun avatar weixingsun commented on May 28, 2024

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.

janpio avatar janpio commented on May 28, 2024

Difficult to say as it seems to be a Chrome bug. Find a computer with an older Chrome version maybe?

from cordova-android.

yujiaming890321 avatar yujiaming890321 commented on May 28, 2024

@weixingsun China blocked Google.

from cordova-android.

pallaviMN avatar pallaviMN commented on May 28, 2024

@weixingsun , have you got any solution. Even i am facing this issue

from cordova-android.

e88y avatar e88y commented on May 28, 2024

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.

jcesarmobile avatar jcesarmobile commented on May 28, 2024

Closing since doesn’t look like a cordova bug but a connection problem.

from cordova-android.

Carsak avatar Carsak commented on May 28, 2024

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.

vigneshChakkaravarthi avatar vigneshChakkaravarthi commented on May 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.