Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Android app shows ERR_CONNECTION_TIMED_OUT

SanjeevChauhanApr 26 2017 — edited May 3 2017

I am trying to create an android app using oraclejet:hybrid scaffolding.

I am able create project and generate scaffolding using navdrawer template. Its running fine on browser (grunt serve --browser) shows index page.

Now when I run grunt build and grunt serve, it by default use android platform and generated apk file.

I am trying to install that file in my android phone (not emulator). It got installed but then when I open app, it just shows a white page for sometime. Later it shows error as ERR_CONNECTION_TIMED_OUT http://10.0.2.2:8000/android/www/index.html). Seems like its trying to download index.html, I believe it should refer file within its apk only. File must be somewhere in apk only.

What I am missing any idea?

Thanks

Sanjeev

Comments
Post Details
Added on Apr 26 2017
2 comments
1,319 views