- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Building Android HTML 5 app using XDK 1995. Build fails, but I don't see why from the logs. Any ideas? It does build ok for iOS.
The build failed. An error occurred while building the application. Verify your build assets are correct and try again.
You can view the log of the Android build here
Build Log:
Building a Cordova 3.5 application.
The application name is "CWS"
The package name is "com.completewellnesssolutions.mobilewellness"
No plugins were found in the intelxdk.config.xml file.
App name updated to [CWS]
Updated "minSdkVersion" with "10"
Updated "targetSdkVersion" with "19"
Updated "versionCode" to "1"
Updated "versionName" to "0.0.1"
Added "debuggable" to "false"
Installed ldpi launch icon
Installed mdpi launch icon
Installed hdpi launch icon
Installed xhdpi launch icon
The android log, it says successful at the end. It does say it has problems copying my launch icons.
cordova library for "android" already exists. No need to download. Continuing.
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: []
Writing out cordova_plugins.js...
Wrote out Android application name to "CWS"
splash screens: []
Copying icon from .../MobileWellness/images/AppIcons/android-transparent/72.png to .../MobileWellness/platforms/android/res/drawable-hdpi/icon.png
cp: no such file or directory: .../MobileWellness/images/AppIcons/android-transparent/72.png
Copying icon from .../MobileWellness/images/AppIcons/android-transparent/36.png to .../MobileWellness/platforms/android/res/drawable-ldpi/icon.png
cp: no such file or directory: .../MobileWellness/images/AppIcons/android-transparent/36.png
Copying icon from .../MobileWellness/images/AppIcons/android-transparent/48.png to .../MobileWellness/platforms/android/res/drawable-mdpi/icon.png
cp: no such file or directory: .../MobileWellness/images/AppIcons/android-transparent/48.png
Copying icon from .../MobileWellness/images/AppIcons/android-transparent/96.png to .../MobileWellness/platforms/android/res/drawable-xhdpi/icon.png
cp: no such file or directory: .../MobileWellness/images/AppIcons/android-transparent/96.png
Wrote out Android package name to "com.completewellnesssolutions.mobilewellness"
************* Processing the main config.xml file (after_prepare) *****************
App Directory = [.../MobileWellness]
Will process and update the following config files:
Config.xml = [.../MobileWellness/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 [CWS]
Updating full app name to [CWS]
Processing preference android-minSdkVersion [10]
Processing preference android-targetSdkVersion [19]
Removing 'manifest/installLocation' (if it exists)
Processing preference permissions
Updating the versionCode
Updating the versionName
Added [{http://schemas.android.com/apk/res/android}debuggable] with [false]
Processing config file values
Copying ldpi launch icons...
Copying mdpi launch icons...
Copying hdpi launch icons...
Copying xhdpi launch icons...
No splash screen supplied for drawable-land-mdpi. Cleaning up.
Removing unused density: .../MobileWellness/platforms/android/res/drawable-land-mdpi
No splash screen supplied for drawable-port-xhdpi. Cleaning up.
Removing unused density: .../MobileWellness/platforms/android/res/drawable-port-xhdpi
No splash screen supplied for drawable-port-ldpi. Cleaning up.
Removing unused density: .../MobileWellness/platforms/android/res/drawable-port-ldpi
No splash screen supplied for drawable-land-ldpi. Cleaning up.
Removing unused density: .../MobileWellness/platforms/android/res/drawable-land-ldpi
No splash screen supplied for drawable-port-hdpi. Cleaning up.
Removing unused density: .../MobileWellness/platforms/android/res/drawable-port-hdpi
No splash screen supplied for drawable-land-xhdpi. Cleaning up.
Removing unused density: .../MobileWellness/platforms/android/res/drawable-land-xhdpi
No splash screen supplied for drawable-land-hdpi. Cleaning up.
Removing unused density: .../MobileWellness/platforms/android/res/drawable-land-hdpi
No splash screen supplied for drawable-port-mdpi. Cleaning up.
Removing unused density: .../MobileWellness/platforms/android/res/drawable-port-mdpi
Saving config.xml to [.../MobileWellness/config.xml]
************* Completed processing the main config.xml file (after_prepare) *****************
Running command: .../MobileWellness/platforms/android/cordova/build --release
Buildfile: .../MobileWellness/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 22.3.0
[checkenv] Installed at /Developer/android-sdk-linux
-setup:
[echo] Project Name: MobileWellness
[gettype] Project Type: Application
-build-setup:
[getbuildtools] Using latest Build Tools: 19.0.0
[echo] Resolving Build Target for MobileWellness...
[gettarget] Project Target: Android 4.4
[gettarget] API level: 19
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: .../MobileWellness/platforms/android/ant-build
[mkdir] Created dir: .../MobileWellness/platforms/android/ant-build/res
[mkdir] Created dir: .../MobileWellness/platforms/android/ant-build/rsObj
[mkdir] Created dir: .../MobileWellness/platforms/android/ant-build/rsLibs
[mkdir] Created dir: .../MobileWellness/platforms/android/ant-gen
[mkdir] Created dir: .../MobileWellness/platforms/android/ant-build/classes
[mkdir] Created dir: .../MobileWellness/platforms/android/ant-build/dexedLibs
[echo] ----------
[echo] Resolving Dependencies for MobileWellness...
[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 22.3.0
[checkenv] Installed at /Developer/android-sdk-linux
-setup:
[echo] Project Name: CordovaLib
[gettype] Project Type: Android Library
-build-setup:
[getbuildtools] Using latest Build Tools: 19.0.0
[echo] Resolving Build Target for CordovaLib...
[gettarget] Project Target: Android 4.4
[gettarget] API level: 19
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: .../MobileWellness/platforms/android/CordovaLib/res
[mkdir] Created dir: .../MobileWellness/platforms/android/CordovaLib/libs
[mkdir] Created dir: .../MobileWellness/platforms/android/CordovaLib/ant-build
[mkdir] Created dir: .../MobileWellness/platforms/android/CordovaLib/ant-build/res
[mkdir] Created dir: .../MobileWellness/platforms/android/CordovaLib/ant-build/rsObj
[mkdir] Created dir: .../MobileWellness/platforms/android/CordovaLib/ant-build/rsLibs
[mkdir] Created dir: .../MobileWellness/platforms/android/CordovaLib/ant-gen
[mkdir] Created dir: .../MobileWellness/platforms/android/CordovaLib/ant-build/classes
[mkdir] Created dir: .../MobileWellness/platforms/android/CordovaLib/ant-build/dexedLibs
[echo] ----------
[echo] Resolving Dependencies for CordovaLib...
[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 90 source files to .../MobileWellness/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: .../MobileWellness/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: .../MobileWellness/platforms/android/CordovaLib/res
[crunch] To destination dir: .../MobileWellness/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: .../MobileWellness/platforms/android/CordovaLib/ant-build/build.prop
[propertyfile] Updating property file: .../MobileWellness/platforms/android/CordovaLib/ant-build/build.prop
[propertyfile] Updating property file: .../MobileWellness/platforms/android/CordovaLib/ant-build/build.prop
[propertyfile] Updating property file: .../MobileWellness/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: .../MobileWellness/platforms/android/CordovaLib/ant-build/classes.jar
-compile:
[javac] Compiling 3 source files to .../MobileWellness/platforms/android/ant-build/classes
-post-compile:
-obfuscate:
-dex:
[dex] input: .../MobileWellness/platforms/android/ant-build/classes
[dex] input: .../MobileWellness/platforms/android/CordovaLib/ant-build/classes.jar
[dex] Pre-Dexing .../MobileWellness/platforms/android/CordovaLib/ant-build/classes.jar -> classes-20aa244d7a483a3f4c86dd0adb97d8dc.jar
[dex] Converting compiled files and external libraries into .../MobileWellness/platforms/android/ant-build/classes.dex...
[dx] Merged dex A (7 defs/2.3KiB) with dex B (207 defs/313.8KiB). Result is 214 defs/385.2KiB. Took 0.2s
-crunch:
[crunch] Crunching PNG Files in source dir: .../MobileWellness/platforms/android/res
[crunch] To destination dir: .../MobileWellness/platforms/android/ant-build/res
[crunch] Processing image to cache: .../MobileWellness/platforms/android/res/drawable-hdpi/icon.png => .../MobileWellness/platforms/android/ant-build/res/drawable-hdpi/icon.png
[crunch] (processed image to cache entry .../MobileWellness/platforms/android/ant-build/res/drawable-hdpi/icon.png: 37% size of source)
[crunch] Processing image to cache: .../MobileWellness/platforms/android/res/drawable-ldpi/icon.png => .../MobileWellness/platforms/android/ant-build/res/drawable-ldpi/icon.png
[crunch] (processed image to cache entry .../MobileWellness/platforms/android/ant-build/res/drawable-ldpi/icon.png: 0% size of source)
[crunch] Processing image to cache: .../MobileWellness/platforms/android/res/drawable-mdpi/icon.png => .../MobileWellness/platforms/android/ant-build/res/drawable-mdpi/icon.png
[crunch] (processed image to cache entry .../MobileWellness/platforms/android/ant-build/res/drawable-mdpi/icon.png: 0% size of source)
[crunch] Processing image to cache: .../MobileWellness/platforms/android/res/drawable-xhdpi/icon.png => .../MobileWellness/platforms/android/ant-build/res/drawable-xhdpi/icon.png
[crunch] (processed image to cache entry .../MobileWellness/platforms/android/ant-build/res/drawable-xhdpi/icon.png: 56% size of source)
[crunch] Processing image to cache: .../MobileWellness/platforms/android/res/drawable/icon.png => .../MobileWellness/platforms/android/ant-build/res/drawable/icon.png
[crunch] (processed image to cache entry .../MobileWellness/platforms/android/ant-build/res/drawable/icon.png: 56% size of source)
[crunch] Crunched 5 PNG files to update cache
-package-resources:
[aapt] Creating full resource package...
-package:
[apkbuilder] Current build type is different than previous build: forced apkbuilder run.
[apkbuilder] Creating MobileWellness-release-unsigned.apk for release...
-post-package:
-release-prompt-for-password:
-release-nosign:
[echo] No key.store and key.alias properties found in build.properties.
[echo] Please sign .../MobileWellness/platforms/android/ant-build/MobileWellness-release-unsigned.apk manually
[echo] and run zipalign from the Android SDK tools.
[propertyfile] Creating new property file: .../MobileWellness/platforms/android/ant-build/build.prop
[propertyfile] Updating property file: .../MobileWellness/platforms/android/ant-build/build.prop
[propertyfile] Updating property file: .../MobileWellness/platforms/android/ant-build/build.prop
[propertyfile] Updating property file: .../MobileWellness/platforms/android/ant-build/build.prop
-release-sign:
-post-build:
[move] Moving 1 file to .../MobileWellness/platforms/android/ant-build
[move] Moving 1 file to .../MobileWellness/platforms/android/CordovaLib/ant-build
release:
BUILD SUCCESSFUL
Total time: 9 seconds
Command finished with error code 0: .../MobileWellness/platforms/android/cordova/build –release<
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It was failing because I had "Signed" checked in the build options.

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