2

enter image description here

enter image description here

Hello thanks for looking into this query.My problem is i am stuck here.I followed all instruction to create a hybrid project using the android SDK from here .My problem is i am not able to refer to the correct path and hence i am getting error stating "gen folder not found ".I went into properties but to show as path i am getting empty when i try adding path.Can anyone suggest me where i am going wrong?

3: enter image description herehttp://wiki.developerforce.com/page/Developing_Hybrid_Apps_with_the_Salesforce_Mobile_SDK

8
  • 1
    Did you run install.sh after getting the Mobile SDK for Android? Are you able to build a sample Android app without the Mobile SDK?
    – metadaddy
    Mar 11 '13 at 16:42
  • Thanks for your real quick reply.I am on windows and i ran cscript install.vbs for windows as mentioned in blog.I will try building sample android app without mobile SDK to figure out if the installation was an issue. Mar 11 '13 at 16:53
  • The first error i get is "Unable to resolve target 'android-8'" with import of project. Mar 11 '13 at 16:54
  • 1
    You also may want to refer to this article: wiki.developerforce.com/page/…
    – joshbirk
    Mar 11 '13 at 16:57
  • @joshbirk Thanks will try with native first .Hopefully some silly mistake i am doing . Mar 11 '13 at 16:59
6

Mohit - open your Android SDK Manager and make sure that you have at least Android 2.2 (API v8) installed.

3
  • I have 4.2 and 4.1 .Is that not enough?I have updated my question with what is installed in my system.thanks Mar 11 '13 at 17:29
  • 1
    Mohit - I can see in your screenshot that Android 2.2 (API 8) is not checked. You will need to install it - the Mobile SDK template specifies that version.
    – metadaddy
    Mar 12 '13 at 2:44
  • Thanks i had to install 2.2 and 3.0 also too resolve the issue.Also looks like we need to import salesforceSDK from native folder location and have as a project and then import the sample hybrid app.All and all great article to get started thanks! Mar 12 '13 at 16:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.