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
Thiyagaraj v 9Thiyagaraj v 9 

Unable to create Hybride remote app using salesforce mobile sdk

Hi All,
we are trying to build a Hybrid_remote mobile app using visual force pages.
I have seen lot of contents over internet which says how to create hybrid app from cmd prompt using forcedroid.

My question is how do i import these forcedroid projects in eclipse? When I import this hybrid_remote project into eclipse, I'm getting errors in the project directories.. Below the steps how I imported the hybrid app project and the results.

User-added image

2) The imported project with errors
User-added image

I'm not sure what is the error.. I could import forcedroid created native apps successfully.. 
Can someone provide me some materials or guide to create hybrid apps using salesforce mobile sdk...
 

bhariharanbhariharan
Please post Mobile SDK questions on our forum here (https://plus.google.com/communities/114225252149514546445). In this case, your project is not compiling because you haven't imported the Cordova library project, which is required for SalesforceSDK to build.
Gaurav KheterpalGaurav Kheterpal
You should follow the steps mentioned here - https://developer.salesforce.com/page/Developing_Hybrid_Apps_with_the_Salesforce_Mobile_SDK

Just make sure that SalesforceSDK, SmartStore and SmartSync are marked as libraries (Right click -> Properties -> Is Library flag shoudl be set).

I hope this helps.

If my answer helps resolve your query, please mark it as the 'Best Answer' & upvote it to benefit others and improve the overall quality of Discussion Forums.

Gaurav Kheterpal

Developer Forums Moderator| Certified Force.com Developer| Dreamforce Speaker| Salesforce Mobile Evangelist