Skip to main content
Ales Drobysh ha preguntado en #Mobile

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?

1 respuesta
  1. 2 jun 2016, 7:59
    Hi Ales,

    Try open your app in force-server and put a inspect element to debug this issue.

    It seems the index.html directory modified.

    Thanks,

    Hari
0/9000