- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After updating and succesfully building a legacy app with the cordova build, I went and added the logos and splash screens.
After this change the build fails.
This is a snippet:
- Installed ldpi launch icon
- Installed mdpi launch icon
- Installed hdpi launch icon
- Installed xhdpi launch icon
- Installing splash screen "drawable-port-xhdpi/splash.png"
- Installing splash screen "drawable-port-ldpi/splash.png"
- Installing splash screen "drawable-port-mdpi/splash.png"
- Installing splash screen "drawable-port-hdpi/splash.png"
- Installing splash screen "drawable-land-mdpi/splash.png"
- Installing splash screen "drawable-land-ldpi/splash.png"
- Installing splash screen "drawable-land-hdpi/splash.png"
- Installing splash screen "drawable-land-xhdpi/splash.png"
- An unexpected error occured while attempting to build the application.
Not much information regarding the actual error: Error: An error occurred while building the android project.Error executing "ant release -f ".../taggoodemoCamera/platforms/android/build.xml"": BUILD FAILED /Developer/android-sdk-linux/tools/ant/build.xml:720: The following error occurred while executing this line: /Developer/android-sdk-linux/tools/ant/build.xml:734: Compile failed; see the compiler error output for details. Total time: 5 seconds at ChildProcess.<anonymous> (/Developer/cordova/3.3.1-0.1.2/node_modules/cordova/src/compile.js:65:22) 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
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you attach the error.log file to the post (don't copy the entire error log, please attach it).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It looks to me like you've included every plugin and are building against Cordova 3.3. Including every plugin is not a good thing, it usually ends badly (that "add all" button is going away, I've been lobbying for that for quite a while). Also, Cordova 3.3 is obsolete, you should change your CLI version number (in the Build Settings) to 4.1.2.
Iterating over installed plugins: [ 'org.apache.cordova.device-motion', 'org.apache.cordova.camera', 'org.apache.cordova.file', 'org.apache.cordova.media-capture', 'org.apache.cordova.device-orientation', 'org.apache.cordova.network-information', 'org.apache.cordova.contacts', 'org.apache.cordova.device', 'org.apache.cordova.battery-status', 'org.apache.cordova.geolocation', 'org.apache.cordova.globalization', 'org.apache.cordova.inappbrowser', 'org.apache.cordova.media', 'org.apache.cordova.dialogs', 'org.apache.cordova.vibration', 'org.apache.cordova.splashscreen', 'com.intel.xdk.accelerometer', 'com.intel.xdk.audio', 'com.intel.xdk.base', 'com.intel.xdk.cache', 'com.intel.xdk.camera', 'com.intel.xdk.contacts', 'com.intel.xdk.device', 'com.intel.xdk.display', 'com.intel.xdk.facebook', 'com.intel.xdk.file', 'com.intel.xdk.geolocation', 'com.intel.xdk.notification', 'com.intel.xdk.player', 'org.apache.cordova.statusbar', 'org.apache.cordova.file-transfer' ]
Remove all the plugins you do not use and change the CLI to 4.1.2 and let me know what happens.

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