praveen
praveen

Reputation: 485

Getting error when trying to debug on chromes emulator

I'm trying to run a sample app by using cordovas camera plugin and I got an error, when trying to debug on chromes emulator

Failed to load resource: the server responded with a status of 404 (Not Found)                      
(http://localhost:8000/android/www/css/images/ajax-loader.gif)

Upvotes: 0

Views: 98

Answers (2)

Dino
Dino

Reputation: 806

You are debuging your application in chrome emulator. But you are using the ajax-loader.gif placed in platforms/andoroid/www/css/images change the location of the loader to www folder in the root folder. css/images/ajax-loader.gif.

In chrome emulator, the files in www folder in the root of project is taken.

Change the location of loader and check whether the problem is solved or not

Upvotes: 1

Nurdin
Nurdin

Reputation: 23883

The correct path is css/images/ajax-loader.gif

Upvotes: 1

Related Questions