Default app receives error on ripple emulation

3.2k Views Asked by At

I've just downloaded an extension for creating multi-device-hybrid-apps for Visual Studio 2013. Before I've created a new project I've installed everything that's needed (Android SDK, ant, git cli, etc.)

Now, when I've created a blank app in Visual Studio, and ran it using ripple (nexus galaxy), I get the emulator and in the screen it says "Cannot GET /index.html".

The address shown in the address bar is localhost:4400/index.html?enableripple=cordova-3.0.0-NexusGalaxy.

Can anyone help?

5

There are 5 best solutions below

1
On BEST ANSWER

I just had the same problem. It seems that sometimes VS2013 does do not recompile the app after a Clean...

I deleted my AndroidManifest.xml, did a Clean, then a manual Rebuild, and it worked.

0
On

Check the page name specified in your config.xml file exists. Config.Xml --> Common --> Start Page

0
On

I have deleted the "bld" folder in the file explorer of my solution. Then rebuild the solution and it works again

0
On

I saw that error and needed to use the full project path at the command line: ripple emulate --path c:\project\myhello\platforms\android\assets\www

It worked after I used the full path. Hopefully that helps you out from VS as well.

0
On

I had some missing files in my android folder. I'm unsure how that happened, but this fixed the problem.

Open a command prompt at the project folder and enter:

cordova platform remove android
cordova platform add android

Then open VS 2015 and run Clean, then Rebuild.