how to find cordova.jar in latest version of phonegap 2.9.1? -


I am downloading the latest version of phonegap-2.9.1 zip file, but it does not have cordova.jar and when i google Finding answers like the liberalization / Android / framework directory and fire command to navigate folder
Android Update Project - PT Android-17
Ant Jar < / Strong>

but is not working Please tell me how to find CordovaGenerator from PhoneGup-2.9.1.

First of all, if you are playing with PhoneGrap / Cordova for a while To ensure the following requirements;)

  • Java JDK 1.5 or greater
  • Apache ANt 1.8.0 or
  • Android SDK
  • < / Ul>

    And then, to generate the Cordova -2.9.1 .jar file, follow the next steps:

    1. Download and remove the file.

    2. The recently extracted directory in the Terminal / CMD window:

      $ cd phonegap-2.9.1 \ lib \ android \ Framework \

    3. Execute the following commands (you need Android SDK and ant which is already configured in your system path) :

      $ android update project -p -t android-17

      If necessary, add the --subprojects parameter:

      $ android update project -p-tt android -17 -subprojects

      You get a message like this Confirms:

      updated project. Properties updated locally.Properties build.xml: found version tag: custom file will not be updated Renewed file D: \ work_NEW \ phonegap-2.9.1 \ lib \ android \ framework \ proguard-project.txt and updated Default.properties renamed to project.properties Local.properties No updated activity name specified, using the activity name 'DroidGap'. If you want to change it, edit the first line of build.xml. File D: \ work_NEW \ phonegap-2.9.1 \ lib \ android \ framework \ bin \ build.xml file added D: \ work_NEW \ phonegap-2.9.1 \ lib \ android \ framework \ bin \ proguard-project.txt

    4. Finally run:

      $ ant jar

      Blalabla ... Jar: [Jar] Building Jar: xxx \ phonegap-2.9.1 \ lib \ android \ framework \ cordova-2.9.1.jar

      Total time successfully created: 4 seconds

    5. Done !!!!! File is ready! And you can read this and other information in one file within PhoneGrap-2.9.1.zip:

      phonegap-2.9.1 \ lib \ android \ README.md < / P>


Comments