- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
When I try to build my app as Cordova Android Build, I get an error saying;
The build failed. An error occurred while building the application. Verify your build assets are correct and try again.
I can successfully build with Crosswalk version. What could be the problem? Thanks for yout time...
The output of build log is below;
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 "Dashboard"
This app does not have launcher icons defined
Wrote out Android package name to "com.yunsa.dashboard"
************* Processing the main config.xml file (after_prepare) *****************
App Directory = [.../Dashboard]
Will process and update the following config files:
Config.xml = [.../Dashboard/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 [Dashboard]
Updating full app name to [Dashboard]
Processing preference android-minSdkVersion [10]
Processing preference android-targetSdkVersion [19]
Processing preference android-installLocation [auto]
Processing preference permissions
Updating the versionCode
Updating the versionName
Processing debuggable
Added [{http://schemas.android.com/apk/res/android}debuggable] with [false]
Processing config file values
No splash screen supplied for drawable-land-mdpi. Cleaning up.
Removing unused density: .../Dashboard/platforms/android/res/drawable-land-mdpi
No splash screen supplied for drawable-port-xhdpi. Cleaning up.
Removing unused density: .../Dashboard/platforms/android/res/drawable-port-xhdpi
No splash screen supplied for drawable-port-ldpi. Cleaning up.
Removing unused density: .../Dashboard/platforms/android/res/drawable-port-ldpi
No splash screen supplied for drawable-land-ldpi. Cleaning up.
Removing unused density: .../Dashboard/platforms/android/res/drawable-land-ldpi
No splash screen supplied for drawable-port-hdpi. Cleaning up.
Removing unused density: .../Dashboard/platforms/android/res/drawable-port-hdpi
No splash screen supplied for drawable-land-xhdpi. Cleaning up.
Removing unused density: .../Dashboard/platforms/android/res/drawable-land-xhdpi
No splash screen supplied for drawable-land-hdpi. Cleaning up.
Removing unused density: .../Dashboard/platforms/android/res/drawable-land-hdpi
No splash screen supplied for drawable-port-mdpi. Cleaning up.
Removing unused density: .../Dashboard/platforms/android/res/drawable-port-mdpi
Saving config.xml to [.../Dashboard/config.xml]
************* Completed processing the main config.xml file (after_prepare) *****************
Running command: .../Dashboard/platforms/android/cordova/build --release
Buildfile: .../Dashboard/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: CordovaApp
[gettype] Project Type: Application
-build-setup:
[getbuildtools] Using latest Build Tools: 19.0.0
[echo] Resolving Build Target for CordovaApp...
[gettarget] Project Target: Android 4.4
[gettarget] API level: 19
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: .../Dashboard/platforms/android/ant-build
[mkdir] Created dir: .../Dashboard/platforms/android/ant-build/res
[mkdir] Created dir: .../Dashboard/platforms/android/ant-build/rsObj
[mkdir] Created dir: .../Dashboard/platforms/android/ant-build/rsLibs
[mkdir] Created dir: .../Dashboard/platforms/android/ant-gen
[mkdir] Created dir: .../Dashboard/platforms/android/ant-build/classes
[mkdir] Created dir: .../Dashboard/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 22.3.0
[checkenv] Installed at /Developer/android-sdk-linux
-setup:
[echo] Project Name: CordovaApp
[gettype] Project Type: Android Library
-build-setup:
[getbuildtools] Using latest Build Tools: 19.0.0
[echo] Resolving Build Target for CordovaApp...
[gettarget] Project Target: Android 4.4
[gettarget] API level: 19
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: .../Dashboard/platforms/android/CordovaLib/res
[mkdir] Created dir: .../Dashboard/platforms/android/CordovaLib/libs
[mkdir] Created dir: .../Dashboard/platforms/android/CordovaLib/ant-build
[mkdir] Created dir: .../Dashboard/platforms/android/CordovaLib/ant-build/res
[mkdir] Created dir: .../Dashboard/platforms/android/CordovaLib/ant-build/rsObj
[mkdir] Created dir: .../Dashboard/platforms/android/CordovaLib/ant-build/rsLibs
[mkdir] Created dir: .../Dashboard/platforms/android/CordovaLib/ant-gen
[mkdir] Created dir: .../Dashboard/platforms/android/CordovaLib/ant-build/classes
[mkdir] Created dir: .../Dashboard/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 .../Dashboard/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: .../Dashboard/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: .../Dashboard/platforms/android/CordovaLib/res
[crunch] To destination dir: .../Dashboard/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: .../Dashboard/platforms/android/CordovaLib/ant-build/build.prop
[propertyfile] Updating property file: .../Dashboard/platforms/android/CordovaLib/ant-build/build.prop
[propertyfile] Updating property file: .../Dashboard/platforms/android/CordovaLib/ant-build/build.prop
[propertyfile] Updating property file: .../Dashboard/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: .../Dashboard/platforms/android/CordovaLib/ant-build/classes.jar
-compile:
[javac] Compiling 3 source files to .../Dashboard/platforms/android/ant-build/classes
-post-compile:
-obfuscate:
-dex:
[dex] input: .../Dashboard/platforms/android/ant-build/classes
[dex] input: .../Dashboard/platforms/android/CordovaLib/ant-build/classes.jar
[dex] Pre-Dexing .../Dashboard/platforms/android/CordovaLib/ant-build/classes.jar -> classes-5a1824db88503cd3d3a81b91efa59202.jar
[dex] Converting compiled files and external libraries into .../Dashboard/platforms/android/ant-build/classes.dex...
[dx] Merged dex A (7 defs/2.2KiB) with dex B (209 defs/317.3KiB). Result is 216 defs/389.1KiB. Took 0.2s
-crunch:
[crunch] Crunching PNG Files in source dir: .../Dashboard/platforms/android/res
[crunch] To destination dir: .../Dashboard/platforms/android/ant-build/res
[crunch] Processing image to cache: .../Dashboard/platforms/android/res/drawable-hdpi/icon.png => .../Dashboard/platforms/android/ant-build/res/drawable-hdpi/icon.png
[crunch] (processed image to cache entry .../Dashboard/platforms/android/ant-build/res/drawable-hdpi/icon.png: 67% size of source)
[crunch] Processing image to cache: .../Dashboard/platforms/android/res/drawable-ldpi/icon.png => .../Dashboard/platforms/android/ant-build/res/drawable-ldpi/icon.png
[crunch] (processed image to cache entry .../Dashboard/platforms/android/ant-build/res/drawable-ldpi/icon.png: 0% size of source)
[crunch] Processing image to cache: .../Dashboard/platforms/android/res/drawable-mdpi/icon.png => .../Dashboard/platforms/android/ant-build/res/drawable-mdpi/icon.png
[crunch] (processed image to cache entry .../Dashboard/platforms/android/ant-build/res/drawable-mdpi/icon.png: 0% size of source)
[crunch] Processing image to cache: .../Dashboard/platforms/android/res/drawable-xhdpi/icon.png => .../Dashboard/platforms/android/ant-build/res/drawable-xhdpi/icon.png
[crunch] (processed image to cache entry .../Dashboard/platforms/android/ant-build/res/drawable-xhdpi/icon.png: 53% size of source)
[crunch] Processing image to cache: .../Dashboard/platforms/android/res/drawable/icon.png => .../Dashboard/platforms/android/ant-build/res/drawable/icon.png
[crunch] (processed image to cache entry .../Dashboard/platforms/android/ant-build/res/drawable/icon.png: 53% 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 CordovaApp-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 .../Dashboard/platforms/android/ant-build/CordovaApp-release-unsigned.apk manually
[echo] and run zipalign from the Android SDK tools.
[propertyfile] Creating new property file: .../Dashboard/platforms/android/ant-build/build.prop
[propertyfile] Updating property file: .../Dashboard/platforms/android/ant-build/build.prop
[propertyfile] Updating property file: .../Dashboard/platforms/android/ant-build/build.prop
[propertyfile] Updating property file: .../Dashboard/platforms/android/ant-build/build.prop
-release-sign:
-post-build:
[move] Moving 1 file to .../Dashboard/platforms/android/ant-build
[move] Moving 1 file to .../Dashboard/platforms/android/CordovaLib/ant-build
release:
BUILD SUCCESSFUL
Total time: 9 seconds
Built the following apk(s):
.../Dashboard/platforms/android/ant-build/CordovaApp-release-unsigned.apk
Command finished with error code 0: .../Dashboard/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
Are you still experiencing this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, problem has gone so far. Thanks for info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your patience and support. Happy coding.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Robertina - I am betting you have some third-party plugins. There are problems with the build process with third party plugins that a number of other threads are raising.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Robertina, are you able to build a simple app or blank template? Just want to be sure the problem is with your app and not with your account. Please confirm that you can build a simple app. If that works, can you provide an example of an app that is failing the build? If you ZIP the entire project directory and then send a private message (use the "Send Author A Message" link on my post) and provide me with a download link or attach the ZIP to the private message.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page