Wednesday, March 5, 2014

PhoneGap set-up with Eclipse for Android

  1. Install latest version of NodeJs from here - http://nodejs.org/.
  2. Update Android ADT with latest one.Eclipse->Help-> Check for updates or install new software.and provide this link and update http://dl-ssl.google.com/android/eclipse/

    1. Update Android SDK. Eclipse-> window-> Android SDK Manager.
    2. Install PhoneGap. Refer following Link: http://docs.phonegap.com/en/edge/guide_cli_index.md.html#The%20Command-Line%20Interface.
    3. Install Cordova and create a new project. Refer following Link :          http://codingsquare.blogspot.in/2013/08/creating-cordova-3-android-project.html.
    4. Once project is created Import project to Eclipse. Refer Link: http://docs.phonegap.com/en/edge/guide_platforms_android_index.md.html#Android%20Platform%20Guide.
    5. Once you have imported project in eclipse, Error will show in the Hello Project saying "Andrdoid Reference library is missing/ Hello-Cordova-lib.jar is missing ". Then Clean the library project and rebuild it and your are done, that error will go off.



    No comments:

    Post a Comment