The cordova build process is failing me. No error, no .apk file....
Here some more of the log (everything after the Cordova init.... The complete file is attached...
Architect:
Cordova 4.1.2
CMD 5.1 builds cordova but does not produce the .apk file.
And I am stuck. Tried a lot of stuff.... Not a clue....
The weird thing is that the log file states that files are moved to two non-existent directories:
Code:
[INF] [shellscript] [move] Moving 1 file to C:\GD\Apps\SnowSwing\cordova\platforms\android\ant-build [INF] [shellscript] [move] Moving 1 file to C:\GD\Apps\SnowSwing\cordova\platforms\android\CordovaLib\ant-build
Here some more of the log (everything after the Cordova init.... The complete file is attached...
Code:
[INF] -before-cordova-init: [INF]
[INF] -cordova-init:
[INF]
[INF] -after-cordova-init:
[INF]
[INF] cordova-init:
[INF]
[INF] -before-cordova-native-package:
[INF]
[INF] -before-cordova-platform-add:
[INF]
[INF] -cordova-platform-add:
[DBG]
x-shell: in directory : C:\GD\Apps\SnowSwing/cordova
x-shell: running command =>
cordova platform list
[INF] [script] Cordova: All requested platforms exist
[INF]
[INF] -after-cordova-platform-add:
[INF]
[INF] cordova-platform-add:
[INF]
[INF] -before-cordova-build:
[INF]
[INF] -cordova-build:
[INF] [Cordova] Attempting Cordova Build for platforms "android"
[DBG]
x-shell: in directory : C:\GD\Apps\SnowSwing/cordova
x-shell: running command =>
cordova build android
[INF] [shellscript]
[INF] [shellscript] C:\GD\Apps\SnowSwing\cordova>cordova build android
[INF] [shellscript] Running command: C:\GD\Apps\SnowSwing\cordova\platforms\android\cordova\build.bat
[INF] [shellscript] Buildfile: C:\GD\Apps\SnowSwing\cordova\platforms\android\build.xml
[INF] [shellscript]
[INF] [shellscript] -set-mode-check:
[INF] [shellscript]
[INF] [shellscript] -set-debug-files:
[INF] [shellscript]
[INF] [shellscript] -check-env:
[INF] [shellscript] [checkenv] Android SDK Tools Revision 24.0.1
[INF] [shellscript] [checkenv] Installed at C:\SDK-Tools\Android\android-sdk
[INF] [shellscript]
[INF] [shellscript] -setup:
[INF] [shellscript] [echo] Project Name: CordovaApp
[INF] [shellscript] [gettype] Project Type: Application
[INF] [shellscript]
[INF] [shellscript] -set-debug-mode:
[INF] [shellscript]
[INF] [shellscript] -debug-obfuscation-check:
[INF] [shellscript]
[INF] [shellscript] -pre-build:
[INF] [shellscript]
[INF] [shellscript] -build-setup:
[INF] [shellscript] [getbuildtools] Using latest Build Tools: 21.1.2
[INF] [shellscript] [echo] Resolving Build Target for CordovaApp...
[INF] [shellscript] [gettarget] Project Target: Android 4.4.2
[INF] [shellscript] [gettarget] API level: 19
[INF] [shellscript] [echo] ----------
[INF] [shellscript] [echo] Creating output directories if needed...
[INF] [shellscript] [mkdir] Created dir: C:\GD\Apps\SnowSwing\cordova\platforms\android\libs
[INF] [shellscript] [echo] ----------
[INF] [shellscript] [echo] Resolving Dependencies for CordovaApp...
[INF] [shellscript] [dependency] Library dependencies:
[INF] [shellscript] [dependency]
[INF] [shellscript] [dependency] ------------------
[INF] [shellscript] [dependency] Ordered libraries:
[INF] [shellscript] [dependency]
[INF] [shellscript] [dependency] ------------------
[INF] [shellscript] [echo] ----------
[INF] [shellscript] [echo] Building Libraries with '''debug'''...
[INF] [shellscript]
[INF] [shellscript] nodeps:
[INF] [shellscript]
[INF] [shellscript] -set-mode-check:
[INF] [shellscript]
[INF] [shellscript] -set-debug-files:
[INF] [shellscript]
[INF] [shellscript] -check-env:
[INF] [shellscript] [checkenv] Android SDK Tools Revision 24.0.1
[INF] [shellscript] [checkenv] Installed at C:\SDK-Tools\Android\android-sdk
[INF] [shellscript]
[INF] [shellscript] -setup:
[INF] [shellscript] [echo] Project Name: CordovaApp
[INF] [shellscript] [gettype] Project Type: Android Library
[INF] [shellscript]
[INF] [shellscript] -set-debug-mode:
[INF] [shellscript]
[INF] [shellscript] -debug-obfuscation-check:
[INF] [shellscript]
[INF] [shellscript] -pre-build:
[INF] [shellscript]
[INF] [shellscript] -build-setup:
[INF] [shellscript] [getbuildtools] Using latest Build Tools: 21.1.2
[INF] [shellscript] [echo] Resolving Build Target for CordovaApp...
[INF] [shellscript] [gettarget] Project Target: Android 4.4.2
[INF] [shellscript] [gettarget] API level: 19
[INF] [shellscript] [echo] ----------
[INF] [shellscript] [echo] Creating output directories if needed...
[INF] [shellscript] [echo] ----------
[INF] [shellscript] [echo] Resolving Dependencies for CordovaApp...
[INF] [shellscript] [dependency] Library dependencies:
[INF] [shellscript] [dependency] No Libraries
[INF] [shellscript] [dependency]
[INF] [shellscript] [dependency] ------------------
[INF] [shellscript]
[INF] [shellscript] -code-gen:
[INF] [shellscript] [mergemanifest] Found Deleted Target File
[INF] [shellscript] [mergemanifest] Merging AndroidManifest files into one.
[INF] [shellscript] [mergemanifest] Manifest merger disabled. Using project manifest only.
[INF] [shellscript] [echo] Handling aidl files...
[INF] [shellscript] [aidl] No AIDL files to compile.
[INF] [shellscript] [echo] ----------
[INF] [shellscript] [echo] Handling RenderScript files...
[INF] [shellscript] [echo] ----------
[INF] [shellscript] [echo] Handling Resources...
[INF] [shellscript] [aapt] Found new input file
[INF] [shellscript] [aapt] Generating resource IDs...
[INF] [shellscript] [echo] ----------
[INF] [shellscript] [echo] Handling BuildConfig class...
[INF] [shellscript] [buildconfig] No need to generate new BuildConfig.
[INF] [shellscript]
[INF] [shellscript] -pre-compile:
[INF] [shellscript]
[INF] [shellscript] -compile:
[INF] [shellscript] [echo] Creating library output jar file...
[INF] [shellscript]
[INF] [shellscript] -post-compile:
[INF] [shellscript]
[INF] [shellscript] -obfuscate:
[INF] [shellscript]
[INF] [shellscript] -dex:
[INF] [shellscript] [echo] Library project: do not convert bytecode...
[INF] [shellscript]
[INF] [shellscript] -crunch:
[INF] [shellscript] [crunch] Crunching PNG Files in source dir: C:\GD\Apps\SnowSwing\cordova\platforms\android\CordovaLib\res
[INF] [shellscript] [crunch] To destination dir: C:\GD\Apps\SnowSwing\cordova\platforms\android\CordovaLib\ant-build\res
[INF] [shellscript] [crunch] Crunched 0 PNG files to update cache
[INF] [shellscript]
[INF] [shellscript] -package-resources:
[INF] [shellscript] [echo] Library project: do not package resources...
[INF] [shellscript]
[INF] [shellscript] -package:
[INF] [shellscript] [echo] Library project: do not package apk...
[INF] [shellscript]
[INF] [shellscript] -post-package:
[INF] [shellscript]
[INF] [shellscript] -do-debug:
[INF] [shellscript] [echo] Library project: do not create apk...
[INF] [shellscript] [propertyfile] Updating property file: C:\GD\Apps\SnowSwing\cordova\platforms\android\CordovaLib\ant-build\build.prop
[INF] [shellscript] [propertyfile] Updating property file: C:\GD\Apps\SnowSwing\cordova\platforms\android\CordovaLib\ant-build\build.prop
[INF] [shellscript] [propertyfile] Updating property file: C:\GD\Apps\SnowSwing\cordova\platforms\android\CordovaLib\ant-build\build.prop
[INF] [shellscript] [propertyfile] Updating property file: C:\GD\Apps\SnowSwing\cordova\platforms\android\CordovaLib\ant-build\build.prop
[INF] [shellscript]
[INF] [shellscript] -post-build:
[INF] [shellscript]
[INF] [shellscript] debug:
[INF] [shellscript]
[INF] [shellscript] -code-gen:
[INF] [shellscript] [mergemanifest] Found Deleted Target File
[INF] [shellscript] [mergemanifest] Merging AndroidManifest files into one.
[INF] [shellscript] [mergemanifest] Manifest merger disabled. Using project manifest only.
[INF] [shellscript] [echo] Handling aidl files...
[INF] [shellscript] [aidl] No AIDL files to compile.
[INF] [shellscript] [echo] ----------
[INF] [shellscript] [echo] Handling RenderScript files...
[INF] [shellscript] [echo] ----------
[INF] [shellscript] [echo] Handling Resources...
[INF] [shellscript] [aapt] Found Deleted Target File
[INF] [shellscript] [aapt] Generating resource IDs...
[INF] [shellscript] [echo] ----------
[INF] [shellscript] [echo] Handling BuildConfig class...
[INF] [shellscript] [buildconfig] No need to generate new BuildConfig.
[INF] [shellscript]
[INF] [shellscript] -pre-compile:
[INF] [shellscript] [echo] Set jars path to: C:\GD\Apps\SnowSwing\cordova\platforms\android\CordovaLib\ant-build\classes.jar
[INF] [shellscript]
[INF] [shellscript] -compile:
[INF] [shellscript] [javac] Compiling 2 source files to C:\GD\Apps\SnowSwing\cordova\platforms\android\ant-build\classes
[INF] [shellscript] [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
[INF] [shellscript] [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
[INF] [shellscript] [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[INF] [shellscript] [javac] 3 warnings
[INF] [shellscript]
[INF] [shellscript] -post-compile:
[INF] [shellscript]
[INF] [shellscript] -obfuscate:
[INF] [shellscript]
[INF] [shellscript] -dex:
[INF] [shellscript] [dex] input: C:\GD\Apps\SnowSwing\cordova\platforms\android\ant-build\classes
[INF] [shellscript] [dex] input: C:\GD\Apps\SnowSwing\cordova\platforms\android\CordovaLib\ant-build\classes.jar
[INF] [shellscript] [dex] Using Pre-Dexed classes-5b27f2b7e379e3b1d836aa40040daef5.jar <- C:\GD\Apps\SnowSwing\cordova\platforms\android\CordovaLib\ant-build\classes.jar
[INF] [shellscript] [dex] Found Deleted Target File
[INF] [shellscript] [dex] Converting compiled files and external libraries into C:\GD\Apps\SnowSwing\cordova\platforms\android\ant-build\classes.dex...
[INF] [shellscript] [dx] Merged dex A (14 defs/3.3KiB) with dex B (209 defs/316.7KiB). Result is 223 defs/389.5KiB. Took 0.3s
[INF] [shellscript]
[INF] [shellscript] -crunch:
[INF] [shellscript] [crunch] Crunching PNG Files in source dir: C:\GD\Apps\SnowSwing\cordova\platforms\android\res
[INF] [shellscript] [crunch] To destination dir: C:\GD\Apps\SnowSwing\cordova\platforms\android\ant-build\res
[INF] [shellscript] [crunch] Crunched 0 PNG files to update cache
[INF] [shellscript]
[INF] [shellscript] -package-resources:
[INF] [shellscript] [aapt] Found Deleted Target File
[INF] [shellscript] [aapt] Creating full resource package...
[INF] [shellscript]
[INF] [shellscript] -package:
[INF] [shellscript] [apkbuilder] Found Deleted Target File
[INF] [shellscript] [apkbuilder] Creating CordovaApp-debug-unaligned.apk and signing it with a debug key...
[INF] [shellscript]
[INF] [shellscript] -post-package:
[INF] [shellscript]
[INF] [shellscript] -do-debug:
[INF] [shellscript] [zipalign] Running zip align on final apk...
[INF] [shellscript] [echo] Debug Package: C:\GD\Apps\SnowSwing\cordova\platforms\android\ant-build\CordovaApp-debug.apk
[INF] [shellscript] [propertyfile] Updating property file: C:\GD\Apps\SnowSwing\cordova\platforms\android\ant-build\build.prop
[INF] [shellscript] [propertyfile] Updating property file: C:\GD\Apps\SnowSwing\cordova\platforms\android\ant-build\build.prop
[INF] [shellscript] [propertyfile] Updating property file: C:\GD\Apps\SnowSwing\cordova\platforms\android\ant-build\build.prop
[INF] [shellscript] [propertyfile] Updating property file: C:\GD\Apps\SnowSwing\cordova\platforms\android\ant-build\build.prop
[INF] [shellscript]
[INF] [shellscript] -post-build:
[INF] [shellscript] [move] Moving 1 file to C:\GD\Apps\SnowSwing\cordova\platforms\android\ant-build
[INF] [shellscript] [move] Moving 1 file to C:\GD\Apps\SnowSwing\cordova\platforms\android\CordovaLib\ant-build
[INF] [shellscript]
[INF] [shellscript] debug:
[INF] [shellscript]
[INF] [shellscript] BUILD SUCCESSFUL
[INF] [shellscript] Total time: 24 seconds
[INF] [shellscript] Built the following apk(s):
[INF] [shellscript]
Architect:
version: 3.1.0.1943
channel: 3.1-stable
platform: 1.4.1.960
cmd: 5.1.0.26
framework: Sencha Touch 2.4.x
Cordova 4.1.2
CMD 5.1 builds cordova but does not produce the .apk file.
Aucun commentaire:
Enregistrer un commentaire