Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
14 Views

XDK 3357 build failed

Hi there,

I recently has updated my XDK to 3357 and want to build an existing project. I then got a BUILDING FAILED message, it saids:  Error: A build error occurred. Check the build log.

Calling plugman.fetch on plugin ".../cachedPlugins.WZm6ZC.tmp/cache.HLrBNl.pl/cordova-plugin-extras-google-play-services"
Copying plugin ".../cachedPlugins.WZm6ZC.tmp/cache.HLrBNl.pl/cordova-plugin-extras-google-play-services" => ".../Robots_Warfare/plugins/cordova-plugin-extras-google-play-services"
Calling plugman.install on plugin ".../Robots_Warfare/plugins/cordova-plugin-extras-google-play-services" for platform "android
Installing "cordova-plugin-extras-google-play-services" for android
Running command: .../Robots_Warfare/platforms/android/cordova/version 
Command finished with error code 0: .../Robots_Warfare/platforms/android/cordova/version 
Install start for "cordova-plugin-extras-google-play-services" on android.
Install complete for cordova-plugin-extras-google-play-services on android.
Searching PlatformJson files for differences between project vs. platform installed plugins
No differences found between project and android platform. Continuing...
Generating config.xml from defaults for platform "android"
Wrote out Android application name to "Robots Warfare"
Wrote out Android package name to "com.kwungames.robotswarfare"
Deleted .../Robots_Warfare/platforms/android/res/drawable-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-xhdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-xhdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-xhdpi/icon.png
copying image from .../Robots_Warfare/www/36x36.png to .../Robots_Warfare/platforms/android/res/drawable-ldpi/icon.png
copying image from .../Robots_Warfare/www/48x48.png to .../Robots_Warfare/platforms/android/res/drawable-mdpi/icon.png
copying image from .../Robots_Warfare/www/72x72.png to .../Robots_Warfare/platforms/android/res/drawable-hdpi/icon.png
copying image from .../Robots_Warfare/www/96x96.png to .../Robots_Warfare/platforms/android/res/drawable-xhdpi/icon.png
updated project successfully
Calling plugman.fetch on plugin ".../cachedPlugins.WZm6ZC.tmp/cache.qYTJpD.pl/cordova-plugin-ad-admob-sdk"
Copying plugin ".../cachedPlugins.WZm6ZC.tmp/cache.qYTJpD.pl/cordova-plugin-ad-admob-sdk" => ".../Robots_Warfare/plugins/cordova-plugin-ad-admob-sdk"
Calling plugman.install on plugin ".../Robots_Warfare/plugins/cordova-plugin-ad-admob-sdk" for platform "android
Installing "cordova-plugin-ad-admob-sdk" for android
Running command: .../Robots_Warfare/platforms/android/cordova/version 
Command finished with error code 0: .../Robots_Warfare/platforms/android/cordova/version 
Dependencies detected, iterating through them...
Dependent plugin "cordova-plugin-extras-google-play-services" already fetched, using that version.
Dependent plugin "cordova-plugin-extras-google-play-services" already installed on android.
Install start for "cordova-plugin-ad-admob-sdk" on android.
Install complete for cordova-plugin-ad-admob-sdk on android.
Searching PlatformJson files for differences between project vs. platform installed plugins
No differences found between project and android platform. Continuing...
Generating config.xml from defaults for platform "android"
Wrote out Android application name to "Robots Warfare"
Wrote out Android package name to "com.kwungames.robotswarfare"
Deleted .../Robots_Warfare/platforms/android/res/drawable-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-xhdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-xhdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-xhdpi/icon.png
copying image from .../Robots_Warfare/www/36x36.png to .../Robots_Warfare/platforms/android/res/drawable-ldpi/icon.png
copying image from .../Robots_Warfare/www/48x48.png to .../Robots_Warfare/platforms/android/res/drawable-mdpi/icon.png
copying image from .../Robots_Warfare/www/72x72.png to .../Robots_Warfare/platforms/android/res/drawable-hdpi/icon.png
copying image from .../Robots_Warfare/www/96x96.png to .../Robots_Warfare/platforms/android/res/drawable-xhdpi/icon.png
updated project successfully
Calling plugman.fetch on plugin ".../cachedPlugins.WZm6ZC.tmp/cache.rCzKXE.pl/cordova-plugin-ad-admob"
Copying plugin ".../cachedPlugins.WZm6ZC.tmp/cache.rCzKXE.pl/cordova-plugin-ad-admob" => ".../Robots_Warfare/plugins/cordova-plugin-ad-admob"
Calling plugman.install on plugin ".../Robots_Warfare/plugins/cordova-plugin-ad-admob" for platform "android
Installing "cordova-plugin-ad-admob" for android
Running command: .../Robots_Warfare/platforms/android/cordova/version 
Command finished with error code 0: .../Robots_Warfare/platforms/android/cordova/version 
Dependencies detected, iterating through them...
Dependent plugin "cordova-plugin-ad-admob-sdk" already fetched, using that version.
Dependent plugin "cordova-plugin-ad-admob-sdk" already installed on android.
Install start for "cordova-plugin-ad-admob" on android.
Install complete for cordova-plugin-ad-admob on android.
Searching PlatformJson files for differences between project vs. platform installed plugins
No differences found between project and android platform. Continuing...
Generating config.xml from defaults for platform "android"
Wrote out Android application name to "Robots Warfare"
Wrote out Android package name to "com.kwungames.robotswarfare"
Deleted .../Robots_Warfare/platforms/android/res/drawable-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-xhdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-xhdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-xhdpi/icon.png
copying image from .../Robots_Warfare/www/36x36.png to .../Robots_Warfare/platforms/android/res/drawable-ldpi/icon.png
copying image from .../Robots_Warfare/www/48x48.png to .../Robots_Warfare/platforms/android/res/drawable-mdpi/icon.png
copying image from .../Robots_Warfare/www/72x72.png to .../Robots_Warfare/platforms/android/res/drawable-hdpi/icon.png
copying image from .../Robots_Warfare/www/96x96.png to .../Robots_Warfare/platforms/android/res/drawable-xhdpi/icon.png
updated project successfully
Calling plugman.fetch on plugin ".../cachedPlugins.WZm6ZC.tmp/cache.164URP.pl/cordova-admob-sdklibs"
Copying plugin ".../cachedPlugins.WZm6ZC.tmp/cache.164URP.pl/cordova-admob-sdklibs" => ".../Robots_Warfare/plugins/cordova-admob-sdklibs"
Calling plugman.install on plugin ".../Robots_Warfare/plugins/cordova-admob-sdklibs" for platform "android
Installing "cordova-admob-sdklibs" for android
Running command: .../Robots_Warfare/platforms/android/cordova/version 
Command finished with error code 0: .../Robots_Warfare/platforms/android/cordova/version 
Install start for "cordova-admob-sdklibs" on android.
Install complete for cordova-admob-sdklibs on android.
Searching PlatformJson files for differences between project vs. platform installed plugins
No differences found between project and android platform. Continuing...
Generating config.xml from defaults for platform "android"
Wrote out Android application name to "Robots Warfare"
Wrote out Android package name to "com.kwungames.robotswarfare"
Deleted .../Robots_Warfare/platforms/android/res/drawable-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-xhdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-xhdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-xhdpi/icon.png
copying image from .../Robots_Warfare/www/36x36.png to .../Robots_Warfare/platforms/android/res/drawable-ldpi/icon.png
copying image from .../Robots_Warfare/www/48x48.png to .../Robots_Warfare/platforms/android/res/drawable-mdpi/icon.png
copying image from .../Robots_Warfare/www/72x72.png to .../Robots_Warfare/platforms/android/res/drawable-hdpi/icon.png
copying image from .../Robots_Warfare/www/96x96.png to .../Robots_Warfare/platforms/android/res/drawable-xhdpi/icon.png
updated project successfully
Calling plugman.fetch on plugin ".../cachedPlugins.WZm6ZC.tmp/cache.E_xPqj.pl/cordova-plugin-admob-free"
Copying plugin ".../cachedPlugins.WZm6ZC.tmp/cache.E_xPqj.pl/cordova-plugin-admob-free" => ".../Robots_Warfare/plugins/cordova-plugin-admob-free"
Calling plugman.install on plugin ".../Robots_Warfare/plugins/cordova-plugin-admob-free" for platform "android
Installing "cordova-plugin-admob-free" for android
Running command: .../Robots_Warfare/platforms/android/cordova/version 
Command finished with error code 0: .../Robots_Warfare/platforms/android/cordova/version 
Dependencies detected, iterating through them...
Dependent plugin "cordova-admob-sdklibs" already fetched, using that version.
Dependent plugin "cordova-admob-sdklibs" already installed on android.
Install start for "cordova-plugin-admob-free" on android.
Install complete for cordova-plugin-admob-free on android.
Searching PlatformJson files for differences between project vs. platform installed plugins
No differences found between project and android platform. Continuing...
Generating config.xml from defaults for platform "android"
Wrote out Android application name to "Robots Warfare"
Wrote out Android package name to "com.kwungames.robotswarfare"
Deleted .../Robots_Warfare/platforms/android/res/drawable-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-xhdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-xhdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-xhdpi/icon.png
copying image from .../Robots_Warfare/www/36x36.png to .../Robots_Warfare/platforms/android/res/drawable-ldpi/icon.png
copying image from .../Robots_Warfare/www/48x48.png to .../Robots_Warfare/platforms/android/res/drawable-mdpi/icon.png
copying image from .../Robots_Warfare/www/72x72.png to .../Robots_Warfare/platforms/android/res/drawable-hdpi/icon.png
copying image from .../Robots_Warfare/www/96x96.png to .../Robots_Warfare/platforms/android/res/drawable-xhdpi/icon.png
updated project successfully
Calling plugman.fetch on plugin ".../cachedPlugins.WZm6ZC.tmp/cache.v26deI.pl/cordova-plugin-whitelist"
Copying plugin ".../cachedPlugins.WZm6ZC.tmp/cache.v26deI.pl/cordova-plugin-whitelist" => ".../Robots_Warfare/plugins/cordova-plugin-whitelist"
Calling plugman.install on plugin ".../Robots_Warfare/plugins/cordova-plugin-whitelist" for platform "android
Installing "cordova-plugin-whitelist" for android
Running command: .../Robots_Warfare/platforms/android/cordova/version 
Command finished with error code 0: .../Robots_Warfare/platforms/android/cordova/version 
Install start for "cordova-plugin-whitelist" on android.
Install complete for cordova-plugin-whitelist on android.

               This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in.
          
Searching PlatformJson files for differences between project vs. platform installed plugins
No differences found between project and android platform. Continuing...
Generating config.xml from defaults for platform "android"
Wrote out Android application name to "Robots Warfare"
Wrote out Android package name to "com.kwungames.robotswarfare"
Deleted .../Robots_Warfare/platforms/android/res/drawable-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-xhdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-xhdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-xhdpi/icon.png
copying image from .../Robots_Warfare/www/36x36.png to .../Robots_Warfare/platforms/android/res/drawable-ldpi/icon.png
copying image from .../Robots_Warfare/www/48x48.png to .../Robots_Warfare/platforms/android/res/drawable-mdpi/icon.png
copying image from .../Robots_Warfare/www/72x72.png to .../Robots_Warfare/platforms/android/res/drawable-hdpi/icon.png
copying image from .../Robots_Warfare/www/96x96.png to .../Robots_Warfare/platforms/android/res/drawable-xhdpi/icon.png
updated project successfully
Calling plugman.fetch on plugin ".../cachedPlugins.WZm6ZC.tmp/cache.QYP33j.pl/cordova-plugin-inappbrowser"
Copying plugin ".../cachedPlugins.WZm6ZC.tmp/cache.QYP33j.pl/cordova-plugin-inappbrowser" => ".../Robots_Warfare/plugins/cordova-plugin-inappbrowser"
Calling plugman.install on plugin ".../Robots_Warfare/plugins/cordova-plugin-inappbrowser" for platform "android
Installing "cordova-plugin-inappbrowser" for android
Running command: .../Robots_Warfare/platforms/android/cordova/version 
Command finished with error code 0: .../Robots_Warfare/platforms/android/cordova/version 
Install start for "cordova-plugin-inappbrowser" on android.
Install complete for cordova-plugin-inappbrowser on android.
Searching PlatformJson files for differences between project vs. platform installed plugins
No differences found between project and android platform. Continuing...
Generating config.xml from defaults for platform "android"
Wrote out Android application name to "Robots Warfare"
Wrote out Android package name to "com.kwungames.robotswarfare"
Deleted .../Robots_Warfare/platforms/android/res/drawable-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-xhdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-xhdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-xhdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-xxhdpi/icon.png
copying image from .../Robots_Warfare/www/36x36.png to .../Robots_Warfare/platforms/android/res/drawable-ldpi/icon.png
copying image from .../Robots_Warfare/www/48x48.png to .../Robots_Warfare/platforms/android/res/drawable-mdpi/icon.png
copying image from .../Robots_Warfare/www/72x72.png to .../Robots_Warfare/platforms/android/res/drawable-hdpi/icon.png
copying image from .../Robots_Warfare/www/96x96.png to .../Robots_Warfare/platforms/android/res/drawable-xhdpi/icon.png
updated project successfully
Calling plugman.fetch on plugin ".../cachedPlugins.WZm6ZC.tmp/cache.CjOfWO.pl/cordova-plugin-crosswalk-webview"
Copying plugin ".../cachedPlugins.WZm6ZC.tmp/cache.CjOfWO.pl/cordova-plugin-crosswalk-webview" => ".../Robots_Warfare/plugins/cordova-plugin-crosswalk-webview"
Calling plugman.install on plugin ".../Robots_Warfare/plugins/cordova-plugin-crosswalk-webview" for platform "android
Installing "cordova-plugin-crosswalk-webview" for android
Running command: .../Robots_Warfare/platforms/android/cordova/version 
Command finished with error code 0: .../Robots_Warfare/platforms/android/cordova/version 
Install start for "cordova-plugin-crosswalk-webview" on android.
Install complete for cordova-plugin-crosswalk-webview on android.
Searching PlatformJson files for differences between project vs. platform installed plugins
No differences found between project and android platform. Continuing...
Generating config.xml from defaults for platform "android"
Wrote out Android application name to "Robots Warfare"
Wrote out Android package name to "com.kwungames.robotswarfare"
Deleted .../Robots_Warfare/platforms/android/res/drawable-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-xhdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-xhdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-xhdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-xxhdpi/icon.png
copying image from .../Robots_Warfare/www/36x36.png to .../Robots_Warfare/platforms/android/res/drawable-ldpi/icon.png
copying image from .../Robots_Warfare/www/48x48.png to .../Robots_Warfare/platforms/android/res/drawable-mdpi/icon.png
copying image from .../Robots_Warfare/www/72x72.png to .../Robots_Warfare/platforms/android/res/drawable-hdpi/icon.png
copying image from .../Robots_Warfare/www/96x96.png to .../Robots_Warfare/platforms/android/res/drawable-xhdpi/icon.png
updated project successfully
Searching PlatformJson files for differences between project vs. platform installed plugins
No differences found between project and android platform. Continuing...
Generating config.xml from defaults for platform "android"
Wrote out Android application name to "Robots Warfare"
Wrote out Android package name to "com.kwungames.robotswarfare"
Deleted .../Robots_Warfare/platforms/android/res/drawable-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-land-xhdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-hdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-ldpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-mdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-port-xhdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-xhdpi/icon.png
Deleted .../Robots_Warfare/platforms/android/res/drawable-xxhdpi/icon.png
copying image from .../Robots_Warfare/www/36x36.png to .../Robots_Warfare/platforms/android/res/drawable-ldpi/icon.png
copying image from .../Robots_Warfare/www/48x48.png to .../Robots_Warfare/platforms/android/res/drawable-mdpi/icon.png
copying image from .../Robots_Warfare/www/72x72.png to .../Robots_Warfare/platforms/android/res/drawable-hdpi/icon.png
copying image from .../Robots_Warfare/www/96x96.png to .../Robots_Warfare/platforms/android/res/drawable-xhdpi/icon.png
updated project successfully
************* Processing the main config.xml file (after_prepare)  *****************
App Directory = [.../Robots_Warfare]
Will process and update the following config files:
    Config.xml = [.../Robots_Warfare/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 [Robots Warfare]
Updating full app name to [Robots Warfare]
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 [.../Robots_Warfare/config.xml]
************* Completed processing the main config.xml file (after_prepare)  *****************
ANDROID_HOME=.../android-sdk
JAVA_HOME=/usr/lib/jvm/java-8-oracle-amd64
embedded
WARNING [Project: :] Current NDK support is deprecated.  Alternative will be provided in the future.
WARNING [Project: :] Current NDK support is deprecated.  Alternative will be provided in the future.
WARNING [Project: :] Current NDK support is deprecated.  Alternative will be provided in the future.
WARNING [Project: :] Current NDK support is deprecated.  Alternative will be provided in the future.
org.xwalk:xwalk_core_library:17+
:preBuild
:compileArmv7ReleaseNdk
:preArmv7ReleaseBuild
:checkArmv7ReleaseManifest
:preX86ReleaseBuild
:CordovaLib:compileLint
:CordovaLib:copyReleaseLint UP-TO-DATE
:CordovaLib:mergeReleaseProguardFiles
:CordovaLib:preBuild
:CordovaLib:preReleaseBuild
:CordovaLib:checkReleaseManifest
:CordovaLib:prepareReleaseDependencies
:CordovaLib:compileReleaseAidl
:CordovaLib:compileReleaseRenderscript
:CordovaLib:generateReleaseBuildConfig
:CordovaLib:generateReleaseAssets UP-TO-DATE
:CordovaLib:mergeReleaseAssets
:CordovaLib:generateReleaseResValues
:CordovaLib:generateReleaseResources
:CordovaLib:packageReleaseResources
:CordovaLib:processReleaseManifest
:CordovaLib:processReleaseResources
:CordovaLib:generateReleaseSources
:CordovaLib:compileReleaseJavaNote: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

:CordovaLib:processReleaseJavaRes UP-TO-DATE
:CordovaLib:packageReleaseJar
:CordovaLib:compileReleaseNdk
:CordovaLib:packageReleaseJniLibs UP-TO-DATE
:CordovaLib:packageReleaseLocalJar UP-TO-DATE
:CordovaLib:packageReleaseRenderscript UP-TO-DATE
:CordovaLib:bundleRelease
:prepareAndroidCordovaLibUnspecifiedReleaseLibrary
:preArmv7DebugBuild
:preX86DebugBuild
:CordovaLib:copyDebugLint UP-TO-DATE
:CordovaLib:mergeDebugProguardFiles
:CordovaLib:preDebugBuild
:CordovaLib:checkDebugManifest
:CordovaLib:prepareDebugDependencies
:CordovaLib:compileDebugAidl
:CordovaLib:compileDebugRenderscript
:CordovaLib:generateDebugBuildConfig
:CordovaLib:generateDebugAssets UP-TO-DATE
:CordovaLib:mergeDebugAssets
:CordovaLib:generateDebugResValues
:CordovaLib:generateDebugResources
:CordovaLib:packageDebugResources
:CordovaLib:processDebugManifest
:CordovaLib:processDebugResources
:CordovaLib:generateDebugSources
:CordovaLib:compileDebugJavaNote: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

:CordovaLib:processDebugJavaRes UP-TO-DATE
:CordovaLib:packageDebugJar
:CordovaLib:compileDebugNdk
:CordovaLib:packageDebugJniLibs UP-TO-DATE
:CordovaLib:packageDebugLocalJar UP-TO-DATE
:CordovaLib:packageDebugRenderscript UP-TO-DATE
:CordovaLib:bundleDebug
:prepareComAndroidSupportSupportV42400Alpha2Library
:prepareComGoogleAndroidGmsPlayServicesAds840Library
:prepareComGoogleAndroidGmsPlayServicesBase840Library
:prepareComGoogleAndroidGmsPlayServicesBasement840Library
:prepareComGoogleAndroidGmsPlayServicesDrive830Library
:prepareComGoogleAndroidGmsPlayServicesGames830Library
:prepareComGoogleAndroidGmsPlayServicesPlus830Library
:prepareOrgXwalkXwalk_core_library174644810Library
:prepareArmv7ReleaseDependencies
:compileArmv7ReleaseAidl
:compileArmv7ReleaseRenderscript
:generateArmv7ReleaseBuildConfig
:generateArmv7ReleaseAssets UP-TO-DATE
:mergeArmv7ReleaseAssets
:createXwalkCommandLineFileArmv7Release
:generateArmv7ReleaseResValues
:generateArmv7ReleaseResources
:mergeArmv7ReleaseResources.../Robots_Warfare/platforms/android/res/drawable-xhdpi/icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
.../Robots_Warfare/platforms/android/res/drawable-ldpi/icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
.../Robots_Warfare/platforms/android/res/drawable-hdpi/icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
.../Robots_Warfare/platforms/android/res/drawable-mdpi/icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

:processArmv7ReleaseManifest.../Robots_Warfare/platforms/android/AndroidManifest.xml:14:9 Error:
	Element activity#com.google.android.gms.ads.AdActivity at AndroidManifest.xml:14:9 duplicated with element declared at AndroidManifest.xml:13:9
.../Robots_Warfare/platforms/android/AndroidManifest.xml:0:0 Error:
	Validation failed, exiting
 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processArmv7ReleaseManifest'.
> Manifest merger failed with multiple errors, see logs

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 33.857 secs
ERROR building one of the platforms: Error: .../Robots_Warfare/platforms/android/gradlew: Command failed with exit code 1
You may not have the required environment or OS to build this project
Error: .../Robots_Warfare/platforms/android/gradlew: Command failed with exit code 1
    at ChildProcess.whenDone (.../Robots_Warfare/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:139:23)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:821:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

Does it mean it cannot build because I'm using Scirra Construct 2 on Windows 7? Please help me with this. Many thanks and kind regards,

Kwun Yu Ho

Tags (2)
0 Kudos
5 Replies
Highlighted
Moderator
14 Views

Kwun,

The error message is cut off. Please tell us what the remainder of the line is:

:processArmv7ReleaseManifest.../Robots_Warfare/platforms/android/AndroidManifest.xml:14:9 Error:
Element activity#com.google.android.gms.ads.AdActivity at AndroidManifest.xml:14:9 duplicated wit

Pamela

0 Kudos
Highlighted
14 Views

Kwun -- there are some odd messages regarding some icon files, looks like they might be of the wrong format. Are they proper PNG format? See these lines from your build error log:

:mergeArmv7ReleaseResources.../Robots_Warfare/platforms/android/res/drawable-xhdpi/icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
	.../Robots_Warfare/platforms/android/res/drawable-ldpi/icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
	.../Robots_Warfare/platforms/android/res/drawable-hdpi/icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
	.../Robots_Warfare/platforms/android/res/drawable-mdpi/icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited	 

Otherwise, my suspicion is you've got two plugins that are competing for the same namespace:

:processArmv7ReleaseManifest.../Robots_Warfare/platforms/android/AndroidManifest.xml:14:9 Error:
	    Element activity#com.google.android.gms.ads.AdActivity at AndroidManifest.xml:14:9 duplicated with element declared at AndroidManifest.xml:13:9
	.../Robots_Warfare/platforms/android/AndroidManifest.xml:0:0 Error:
	    Validation failed, exiting
	 FAILED

Based on the signature, I would guess that you've got two plugins that are trying to pull in Google Play Services and are clashing. I recommend that you remove one plugin, build, remove another plugin, build, etc. until you figure out where the conflict is.

0 Kudos
Highlighted
Beginner
14 Views

To Pamela,

:processArmv7ReleaseManifest.../Robots_Warfare/platforms/android/AndroidManifest.xml:14:9 Error:
	Element activity#com.google.android.gms.ads.AdActivity at AndroidManifest.xml:14:9 duplicated with element declared at AndroidManifest.xml:13:9
.../Robots_Warfare/platforms/android/AndroidManifest.xml:0:0 Error:
	Validation failed, exiting
 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processArmv7ReleaseManifest'.
> Manifest merger failed with multiple errors, see logs

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 33.857 secs
ERROR building one of the platforms: Error: .../Robots_Warfare/platforms/android/gradlew: Command failed with exit code 1
You may not have the required environment or OS to build this project
Error: .../Robots_Warfare/platforms/android/gradlew: Command failed with exit code 1
    at ChildProcess.whenDone (.../Robots_Warfare/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:139:23)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:821:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

To Paul,

The PNG's are the same (true) PNG files that are used in the previous builed versions with XDK. About the plugins that I've used, yes I know about the same plugin. But the strange thing is that I've tried to remove the old plugin first and then add the new plugin, both ways XDK didn't allow me to do it. It saids:

Cannot find plugin.xml for plugin 'com.cranberrygame.phonegap.plugin.ad.admob'. Please try adding it again.
 

0 Kudos
Highlighted
14 Views

Try this:

  • make a list of the plugins that are part of your app
  • exit the XDK
  • delete the plugins directory in your project folder
  • start the XDK, it should attempt to re-add all the plugins

If that doesn't work, you may have to try the newer version of that plugin. The one you are using is an old version that is no longer supported. The author has moved to this version > https://github.com/cranberrygame/cordova-plugin-ad-admob < which you can install by using the third-party plugin add feature of the XDK as "cordova-plugin-ad-admob" by doing something like this:

Screen Shot 2016-06-02 at 9.02.04 AM.png

0 Kudos
Highlighted
Beginner
14 Views

Hi Paul,

I've followed your advise and it's all solved. Many thanks!

Kind regards,

Kwun

0 Kudos