• Ales Drobysh
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

Hi,

I am trying to create a Hybrid Remote app with forcedroid package.
I repeated all steps from Salesforce Mobile SDK:

1) forcedroid create
2) changed remoteAccessConsumerKey and oauthRedirectURI in www/bootconfig.json to the actual ones
3) cordova prepare
4) cordova run

The app builds without any errors and runs on my phone but instead of displaying my VF page it shows  "net::ERR_FILE_NOT_FOUND file:///android_asset/www/index.html)"

I tried this app on Android versions 4.0.4 and 6.0.1 with the same result.

forcedroid version 4.0.0
cordova version 5.4.1
node version 0.12.7

 

Any thoughts?

Hi,

I am trying to create a Hybrid Remote app with forcedroid package.
I repeated all steps from Salesforce Mobile SDK:

1) forcedroid create
2) changed remoteAccessConsumerKey and oauthRedirectURI in www/bootconfig.json to the actual ones
3) cordova prepare
4) cordova run

The app builds without any errors and runs on my phone but instead of displaying my VF page it shows  "net::ERR_FILE_NOT_FOUND file:///android_asset/www/index.html)"

I tried this app on Android versions 4.0.4 and 6.0.1 with the same result.

forcedroid version 4.0.0
cordova version 5.4.1
node version 0.12.7

 

Any thoughts?

I followed all the instructions on the Getting Started with Hybrid Development module (https://developer.salesforce.com/trailhead/mobile_sdk_intro/mobile_sdk_hybrid/mobilesdk_hybrid_getting_started)

When I put in the command - "cordova emulate android", when it tried to run the app, I got an error "net::ERR_FILE_NOT_FOUND (file:///android_asset/www/index.html)

Any thoughts?