- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't know what's going on. 2 days before I could compile correctly and flawless. Now I don't.
Any ideas? More info below
Calling plugman.fetch on plugin ".../cachedPlugins.6XZYDO.tmp/cache.o1tZPs.pl/org.apache.cordova.device" Copying plugin ".../cachedPlugins.6XZYDO.tmp/cache.o1tZPs.pl/org.apache.cordova.device" => ".../DreamLand/plugins/org.apache.cordova.device" Calling plugman.install on plugin ".../DreamLand/plugins/org.apache.cordova.device" for platform "android" with options "{"cli_variables":{},"browserify":false,"nohooks":["."]}" Installing "org.apache.cordova.device" for android Install start for "org.apache.cordova.device" on android. path does not exist: .../DreamLand/platforms/android/src/org/apache/cordova/device Beginning processing of action stack for android project... Parsing android project files... Action stack processing complete. Running command: .../DreamLand/platforms/android/cordova/version Command finished with error code 0: .../DreamLand/platforms/android/cordova/version Writing out android project files... Preparing android project Processing configuration changes for plugins. Iterating over installed plugins: [ 'org.apache.cordova.device' ] Writing out cordova_plugins.js... Install complete for org.apache.cordova.device on android. Calling plugman.fetch on plugin ".../cachedPlugins.6XZYDO.tmp/cache.dFBWh4.pl/org.apache.cordova.splashscreen" Copying plugin ".../cachedPlugins.6XZYDO.tmp/cache.dFBWh4.pl/org.apache.cordova.splashscreen" => ".../DreamLand/plugins/org.apache.cordova.splashscreen" Calling plugman.install on plugin ".../DreamLand/plugins/org.apache.cordova.splashscreen" for platform "android" with options "{"cli_variables":{},"browserify":false,"nohooks":["."]}" Installing "org.apache.cordova.splashscreen" for android Install start for "org.apache.cordova.splashscreen" on android. path does not exist: .../DreamLand/platforms/android/src/org/apache/cordova/splashscreen Beginning processing of action stack for android project... Parsing android project files... Action stack processing complete. Running command: .../DreamLand/platforms/android/cordova/version Command finished with error code 0: .../DreamLand/platforms/android/cordova/version Writing out android project files... Preparing android project Processing configuration changes for plugins. Iterating over installed plugins: [ 'org.apache.cordova.device', 'org.apache.cordova.splashscreen' ] Writing out cordova_plugins.js... Install complete for org.apache.cordova.splashscreen on android. Generating config.xml from defaults for platform "android" Calling plugman.prepare for platform "android" Preparing android project Processing configuration changes for plugins. Iterating over installed plugins: [ 'org.apache.cordova.device', 'org.apache.cordova.splashscreen' ] Writing out cordova_plugins.js... Wrote out Android application name to "DreamLand" This app does not have launcher icons defined Wrote out Android package name to "com.horiugames.dreamland" ************* Processing the main config.xml file (after_prepare) ***************** App Directory = [.../DreamLand] Will process and update the following config files: Config.xml = [.../DreamLand/config.xml] Namespaces: prefix/uri ''/'http://www.w3.org/ns/widgets' prefix/uri 'intelxdk'/'http://xdk.intel.com/ns/v1' Android Manifest Namespaces: prefix/uri 'android'/'http://schemas.android.com/apk/res/android' Name of the app is [DreamLand] Updating full app name to [DreamLand] Processing preference android-minSdkVersion [14] Processing preference android-targetSdkVersion [19] Processing preference android-installLocation [auto] Processing preference permissions Updating the versionCode Updating the versionName Added [{http://schemas.android.com/apk/res/android}debuggable] with [false] Processing config file values Saving config.xml to [.../DreamLand/config.xml] ************* Completed processing the main config.xml file (after_prepare) ***************** Running command: .../DreamLand/platforms/android/cordova/build --release Buildfile: .../DreamLand/platforms/android/build.xml -set-mode-check: -set-release-mode: -release-obfuscation-check: [echo] proguard.config is ${proguard.config} -pre-build: -check-env: [checkenv] Android SDK Tools Revision 24.3.3 [checkenv] Installed at /Developer/android-sdk-linux -setup: [echo] Project Name: CordovaApp [gettype] Project Type: Application -build-setup: [getbuildtools] Using latest Build Tools: 22.0.1 [echo] Resolving Build Target for CordovaApp... [gettarget] Project Target: Android 4.4.2 [gettarget] API level: 19 [echo] ---------- [echo] Creating output directories if needed... [mkdir] Created dir: .../DreamLand/platforms/android/ant-build [mkdir] Created dir: .../DreamLand/platforms/android/ant-build/res [mkdir] Created dir: .../DreamLand/platforms/android/ant-build/rsObj [mkdir] Created dir: .../DreamLand/platforms/android/ant-build/rsLibs [mkdir] Created dir: .../DreamLand/platforms/android/ant-gen [mkdir] Created dir: .../DreamLand/platforms/android/ant-build/classes [mkdir] Created dir: .../DreamLand/platforms/android/ant-build/dexedLibs [echo] ---------- [echo] Resolving Dependencies for CordovaApp... [dependency] Library dependencies: [dependency] [dependency] ------------------ [dependency] Ordered libraries: [dependency] [dependency] ------------------ [echo] ---------- [echo] Building Libraries with 'release'... nodeps: -set-mode-check: -set-release-mode: -release-obfuscation-check: [echo] proguard.config is ${proguard.config} -pre-build: -check-env: [checkenv] Android SDK Tools Revision 24.3.3 [checkenv] Installed at /Developer/android-sdk-linux -setup: [echo] Project Name: CordovaApp [gettype] Project Type: Android Library -build-setup: [getbuildtools] Using latest Build Tools: 22.0.1 [echo] Resolving Build Target for CordovaApp... [gettarget] Project Target: Android 4.4.2 [gettarget] API level: 19 [echo] ---------- [echo] Creating output directories if needed... [mkdir] Created dir: .../DreamLand/platforms/android/CordovaLib/res [mkdir] Created dir: .../DreamLand/platforms/android/CordovaLib/libs [mkdir] Created dir: .../DreamLand/platforms/android/CordovaLib/ant-build [mkdir] Created dir: .../DreamLand/platforms/android/CordovaLib/ant-build/res [mkdir] Created dir: .../DreamLand/platforms/android/CordovaLib/ant-build/rsObj [mkdir] Created dir: .../DreamLand/platforms/android/CordovaLib/ant-build/rsLibs [mkdir] Created dir: .../DreamLand/platforms/android/CordovaLib/ant-gen [mkdir] Created dir: .../DreamLand/platforms/android/CordovaLib/ant-build/classes [mkdir] Created dir: .../DreamLand/platforms/android/CordovaLib/ant-build/dexedLibs [echo] ---------- [echo] Resolving Dependencies for CordovaApp... [dependency] Library dependencies: [dependency] No Libraries [dependency] [dependency] ------------------ -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 93 source files to .../DreamLand/platforms/android/CordovaLib/ant-build/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: .../DreamLand/platforms/android/CordovaLib/ant-build/classes.jar -post-compile: -obfuscate: -dex: [echo] Library project: do not convert bytecode... -crunch: [crunch] Crunching PNG Files in source dir: .../DreamLand/platforms/android/CordovaLib/res [crunch] To destination dir: .../DreamLand/platforms/android/CordovaLib/ant-build/res [crunch] Crunched 0 PNG files to update cache -package-resources: [echo] Library project: do not package resources... -package: [echo] Library project: do not package apk... -post-package: -release-prompt-for-password: -release-nosign: [echo] [propertyfile] Creating new property file: .../DreamLand/platforms/android/CordovaLib/ant-build/build.prop [propertyfile] Updating property file: .../DreamLand/platforms/android/CordovaLib/ant-build/build.prop [propertyfile] Updating property file: .../DreamLand/platforms/android/CordovaLib/ant-build/build.prop [propertyfile] Updating property file: .../DreamLand/platforms/android/CordovaLib/ant-build/build.prop -release-sign: -post-build: release: -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: [echo] Set jars path to: .../DreamLand/platforms/android/CordovaLib/ant-build/classes.jar -compile: [javac] Compiling 5 source files to .../DreamLand/platforms/android/ant-build/classes -post-compile: -obfuscate: -dex: [dex] input: .../DreamLand/platforms/android/ant-build/classes [dex] input: .../DreamLand/platforms/android/CordovaLib/ant-build/classes.jar [dex] Pre-Dexing .../DreamLand/platforms/android/CordovaLib/ant-build/classes.jar -> classes-669caf18be207201961905ba03c7de0d.jar [dex] Converting compiled files and external libraries into .../DreamLand/platforms/android/ant-build/classes.dex... [dx] Merged dex A (9 defs/5.0KiB) with dex B (209 defs/317.2KiB). Result is 218 defs/392.3KiB. Took 0.3s -crunch: [crunch] Crunching PNG Files in source dir: .../DreamLand/platforms/android/res [crunch] To destination dir: .../DreamLand/platforms/android/ant-build/res [crunch] Processing image to cache: .../DreamLand/platforms/android/res/drawable-hdpi/icon.png => .../DreamLand/platforms/android/ant-build/res/drawable-hdpi/icon.png [crunch] (processed image to cache entry .../DreamLand/platforms/android/ant-build/res/drawable-hdpi/icon.png: 67% size of source) [crunch] Processing image to cache: .../DreamLand/platforms/android/res/drawable-land-hdpi/screen.png => .../DreamLand/platforms/android/ant-build/res/drawable-land-hdpi/screen.png [crunch] (processed image to cache entry .../DreamLand/platforms/android/ant-build/res/drawable-land-hdpi/screen.png: 97% size of source) [crunch] Processing image to cache: .../DreamLand/platforms/android/res/drawable-land-ldpi/screen.png => .../DreamLand/platforms/android/ant-build/res/drawable-land-ldpi/screen.png [crunch] (processed image to cache entry .../DreamLand/platforms/android/ant-build/res/drawable-land-ldpi/screen.png: 96% size of source) [crunch] Processing image to cache: .../DreamLand/platforms/android/res/drawable-land-mdpi/screen.png => .../DreamLand/platforms/android/ant-build/res/drawable-land-mdpi/screen.png [crunch] (processed image to cache entry .../DreamLand/platforms/android/ant-build/res/drawable-land-mdpi/screen.png: 97% size of source) [crunch] Processing image to cache: .../DreamLand/platforms/android/res/drawable-land-xhdpi/screen.png => .../DreamLand/platforms/android/ant-build/res/drawable-land-xhdpi/screen.png [crunch] (processed image to cache entry .../DreamLand/platforms/android/ant-build/res/drawable-land-xhdpi/screen.png: 99% size of source) [crunch] Processing image to cache: .../DreamLand/platforms/android/res/drawable-ldpi/icon.png => .../DreamLand/platforms/android/ant-build/res/drawable-ldpi/icon.png [crunch] (processed image to cache entry .../DreamLand/platforms/android/ant-build/res/drawable-ldpi/icon.png: 0% size of source) [crunch] Processing image to cache: .../DreamLand/platforms/android/res/drawable-mdpi/icon.png => .../DreamLand/platforms/android/ant-build/res/drawable-mdpi/icon.png [crunch] (processed image to cache entry .../DreamLand/platforms/android/ant-build/res/drawable-mdpi/icon.png: 0% size of source) [crunch] Processing image to cache: .../DreamLand/platforms/android/res/drawable-port-hdpi/screen.png => .../DreamLand/platforms/android/ant-build/res/drawable-port-hdpi/screen.png [crunch] (processed image to cache entry .../DreamLand/platforms/android/ant-build/res/drawable-port-hdpi/screen.png: 97% size of source) [crunch] Processing image to cache: .../DreamLand/platforms/android/res/drawable-port-ldpi/screen.png => .../DreamLand/platforms/android/ant-build/res/drawable-port-ldpi/screen.png [crunch] (processed image to cache entry .../DreamLand/platforms/android/ant-build/res/drawable-port-ldpi/screen.png: 97% size of source) [crunch] Processing image to cache: .../DreamLand/platforms/android/res/drawable-port-mdpi/screen.png => .../DreamLand/platforms/android/ant-build/res/drawable-port-mdpi/screen.png [crunch] (processed image to cache entry .../DreamLand/platforms/android/ant-build/res/drawable-port-mdpi/screen.png: 99% size of source) [crunch] Processing image to cache: .../DreamLand/platforms/android/res/drawable-port-xhdpi/screen.png => .../DreamLand/platforms/android/ant-build/res/drawable-port-xhdpi/screen.png [crunch] (processed image to cache entry .../DreamLand/platforms/android/ant-build/res/drawable-port-xhdpi/screen.png: 99% size of source) [crunch] Processing image to cache: .../DreamLand/platforms/android/res/drawable-xhdpi/icon.png => .../DreamLand/platforms/android/ant-build/res/drawable-xhdpi/icon.png [crunch] (processed image to cache entry .../DreamLand/platforms/android/ant-build/res/drawable-xhdpi/icon.png: 53% size of source) [crunch] Processing image to cache: .../DreamLand/platforms/android/res/drawable/icon.png => .../DreamLand/platforms/android/ant-build/res/drawable/icon.png [crunch] (processed image to cache entry .../DreamLand/platforms/android/ant-build/res/drawable/icon.png: 53% size of source) [crunch] Crunched 13 PNG files to update cache -package-resources: [aapt] Creating full resource package... [aapt] .../DreamLand/platforms/android/assets/www/images/monta??aprimerplanoverderetocado-sheet0.png: error: Invalid filename. Unable to add. BUILD FAILED /Developer/android-sdk-linux/tools/ant/build.xml:928: The following error occurred while executing this line: /Developer/android-sdk-linux/tools/ant/build.xml:946: null returned: 1 Total time: 25 seconds .../DreamLand/platforms/android/cordova/node_modules/q/q.js:126 throw e; ^ Error code 1 for command: ant with args: release,-f,.../DreamLand/platforms/android/build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=ant-gen Command finished with error code 8: .../DreamLand/platforms/android/cordova/build --release Error: .../DreamLand/platforms/android/cordova/build: Command failed with exit code 8 at ChildProcess.whenDone (/Developer/cordova/4.1.2/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23) at ChildProcess.EventEmitter.emit (events.js:98:17) at maybeClose (child_process.js:743:16) at Process.ChildProcess._handle.onexit (child_process.js:810:5)
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, it looks like it's failing when trying to build one of the plugins. I have seen some problems like this when trying to use a plugin for Cordova 5 on Cordova 4. There were significant changes between them.
First, I'd find out which plugin is causing the fail.
Then I'd double check the version and see if it's compatible with CLI 4 or 5.
You might need to get an older version of the plugin or build with Cordova 5, if that's feasible.
What plugins are you using?
Dale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The error message states that your monta??aprimerplanoverderetocado-sheet0.png has an invalid filename.
It has two '?'s - that probably is not what you named the file. What character are you using there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you both for the answer. The problem was indeed the strange character in my filename. I don't speak english, my languague it's spanish so the filename contained "ñ" for "mountain" (montaña).
Sorry for the late reply and thanks once more for your help.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page