PDA

View Full Version : Application Error when deploying Sencha Touch / PhoneGap app to Android



jonide
11 Feb 2011, 12:35 PM
I'm building/deploying my Sencha Touch / PhoneGap app to the Android emulator. The apk loads ok but when it runs on the emulator I get a popup:

Application Error

The requested file was not found. www/index.html (file:///android_asset/www/index.html)
The index.html is present in my project however. Has anyone seen this error?

TIA.

davfranck
28 Apr 2011, 6:28 AM
Hi,

I have the same error, did you find the solution ?

Thanks

David

realjax
28 Apr 2011, 6:44 AM
This is a very generic error and could have multiple causes. In my case it happened because an app running in the emulator does not by default take proxy settings into account. In other words, it can't connect to the internet.
If you are developing (and deploying to the emulator) using eclipse, open the logcat view. It tells you more then just this cryptic message