function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ales DrobyshAles Drobysh 

Problem with creating a hybrid app

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?

Hari hara suthanHari hara suthan
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