Thursday, November 20, 2014

Generate Cordova android jar file and free download cordova-3.5.0 jar file

I want to upgrade my cordova jar file. I just simply created.
Download cordova-android-3.5.0.zip file and extract the zip file.
Just follow the 3 step to generate cordova jar file.

C:\Documents and Settings\cordova-android\framework>android update project -p .
Updated local.properties

Its will build the project local properties file.

build.xml: Found version-tag: custom. File will not be updated.
Added file C:\Documents and Settings\cordova-android\framework\proguard-project.txt

And then you can create ant jar file using this command.

C:\Documents and Settings\cordova-android\framework>ant jar

If ant build xml file is not found you can download the ant package and just set the ant pin folder path as envinoment path
and then you can try ant jar command.
cordova android jar file will build like this

Buildfile: C:\Documents and Settings\cordova-android\framework\build.xml

-pre-build:

-check-env:
 [checkenv] Android SDK Tools Revision 22.3.0
 [checkenv] Installed at C:\Programmi\adt-bundle-windows-x86\sdk

-setup:
     [echo] Project Name: Cordova
  [gettype] Project Type: Android Library

-build-setup:
[getbuildtools] Using latest Build Tools: 18.1.0
     [echo] Resolving Build Target for Cordova...
[gettarget] Project Target:   Android 4.4
[gettarget] API level:        19
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: C:\Documents and Settings\cordova-android\framework\libs
    [mkdir] Created dir: C:\Documents and Settings\cordova-android\framework\bin
    [mkdir] Created dir: C:\Documents and Settings\cordova-android\framework\bin\res
    [mkdir] Created dir: C:\Documents and Settings\cordova-android\framework\bin\rsOb
j
    [mkdir] Created dir: C:\Documents and Settings\cordova-android\framework\bin\rsLi
bs
    [mkdir] Created dir: C:\Documents and Settings\cordova-android\framework\gen
    [mkdir] Created dir: C:\Documents and Settings\cordova-android\framework\bin\clas
ses
    [mkdir] Created dir: C:\Documents and Settings\cordova-android\framework\bin\dexe
dLibs
     [echo] ----------
     [echo] Resolving Dependencies for Cordova...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
     [echo] ----------
     [echo] Building Libraries with '${build.target}'...
   [subant] No sub-builds to iterate on

-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
     [echo] Handling aidl files...
     [aidl] No AIDL files to compile.
     [echo] ----------
     [echo] Handling RenderScript files...
     [echo] ----------
     [echo] Handling Resources...
     [aapt] Generating resource IDs...
     [echo] ----------
     [echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.

-pre-compile:

-compile:
    [javac] Compiling 90 source files to C:\Documents and Settings\cordova-android\fr
amework\bin\classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
     [echo] Creating library output jar file...
      [jar] Building jar: C:\Documents and Settings\cordova-android\framework\bin\cla
sses.jar

jar:
      [jar] Building jar: C:\Documents and Settings\cordova-android\framework\cordova
-3.5.0.jar

BUILD SUCCESSFUL
Total time: 4 seconds

cordova jar file will be created in your framework folder
cordova android-3.5.0 js file download
Cordova android-3.5.0 jar file download

Guys Cordova android-3.5.1 jar file download codemasterclubs.blogspot.in from this site.

7 comments: