Software Archive
Read-only legacy content
17061 Discussions

Android Build Failed. XDK

nermeen_m_
Beginner
300 Views

I don't know what's going on, when I try to add icons or splash screens I got this error

Error XDK.png

Three days of search and I couldn't solve the problem. Here is also the build log

Calling plugman.fetch on plugin ".../cachedPlugins.M0sQCX.tmp/cache.rq0w4D.pl/cordova-plugin-splashscreen"
Copying plugin ".../cachedPlugins.M0sQCX.tmp/cache.rq0w4D.pl/cordova-plugin-splashscreen" => ".../SmartGrid2016/plugins/cordova-plugin-splashscreen"
Calling plugman.install on plugin ".../SmartGrid2016/plugins/cordova-plugin-splashscreen" for platform "android" with options "{"cli_variables":{},"browserify":false,"link":false,"pluginInfoProvider":{"_cache":{".../cachedPlugins.M0sQCX.tmp/cache.rq0w4D.pl/cordova-plugin-splashscreen":{"filepath":".../cachedPlugins.M0sQCX.tmp/cache.rq0w4D.pl/cordova-plugin-splashscreen/plugin.xml","dir":".../cachedPlugins.M0sQCX.tmp/cache.rq0w4D.pl/cordova-plugin-splashscreen","_et":{"_root":{"_id":36,"tag":"plugin","attrib":{"xmlns":"http://apache.org/cordova/ns/plugins/1.0","id":"cordova-plugin-splashscreen","version":"2.1.0"},"text":"\n    ","tail":null,"_children":[{"_id":37,"tag":"name","attrib":{},"text":"Splashscreen","tail":"\n    ","_children":[]},{"_id":38,"tag":"description","attrib":{},"text":"Cordova Splashscreen Plugin","tail":"\n    ","_children":[]},{"_id":39,"tag":"license","attrib":{},"text":"Apache 2.0","tail":"\n    ","_children":[]},{"_id":40,"tag":"keywords","attrib":{},"text":"cordova,splashscreen","tail":"\n    ","_children":[]},{"_id":41,"tag":"repo","attrib":{},"text":"https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git","tail":"\n    ","_children":[]},{"_id":42,"tag":"issue","attrib":{},"text":"https://issues.apache.org/jira/browse/CB/component/12320653","tail":"\n\n    ","_children":[]},{"_id":43,"tag":"engines","attrib":{},"text":"\n        ","tail":"\n\n    ","_children":[{"_id":44,"tag":"engine","attrib":{"name":"cordova-android","version":">=3.6.0"},"text":"","tail":"\n    ","_children":[]}]},{"_id":45,"tag":"js-module","attrib":{"src":"www/splashscreen.js","name":"SplashScreen"},"text":"\n        ","tail":"\n\n    \n    ","_children":[{"_id":46,"tag":"clobbers","attrib":{"target":"navigator.splashscreen"},"text":"","tail":"\n    ","_children":[]}]},{"_id":47,"tag":"platform","attrib":{"name":"android"},"text":"\n        ","tail":"\n\n    \n    ","_children":[{"_id":48,"tag":"config-file","attrib":{"target":"res/xml/config.xml","parent":"/*"},"text":"\n            ","tail":"\n\n        ","_children":[{"_id":49,"tag":"feature","attrib":{"name":"SplashScreen"},"text":"\n                ","tail":"\n        ","_children":[{"_id":50,"tag":"param","attrib":{"name":"android-package","value":"org.apache.cordova.splashscreen.SplashScreen"},"text":"","tail":"\n                ","_children":[]},{"_id":51,"tag":"param","attrib":{"name":"onload","value":"true"},"text":"","tail":"\n            ","_children":[]}]}]},{"_id":52,"tag":"source-file","attrib":{"src":"src/android/SplashScreen.java","target-dir":"src/org/apache/cordova/splashscreen"},"text":"","tail":"\n    ","_children":[]}]},{"_id":53,"tag":"platform","attrib":{"name":"amazon-fireos"},"text":"\n        ","tail":"\n\n    \n    ","_children":[{"_id":54,"tag":"config-file","attrib":{"target":"res/xml/config.xml","parent":"/*"},"text":"\n            ","tail":"\n\n        ","_children":[{"_id":55,"tag":"feature","attrib":{"name":"SplashScreen"},"text":"\n            ","tail":"\n        ","_children":[{"_id":56,"tag":"param","attrib":{"name":"android-package","value":"org.apache.cordova.splashscreen.SplashScreen"},"text":"","tail":"\n            ","_children":[]}]}]},{"_id":57,"tag":"source-file","attrib":{"src":"src/android/SplashScreen.java","target-dir":"src/org/apache/cordova/splashscreen"},"text":"","tail":"\n    ","_children":[]}]},{"_id":58,"tag":"platform","attrib":{"name":"ubuntu"},"text":"\n        ","tail":"\n\n    \n    ","_children":[{"_id":59,"tag":"header-file","attrib":{"src":"src/ubuntu/splashscreen.h"},"text":"","tail":"\n        ","_children":[]},{"_id":60,"tag":"source-file","attrib":{"src":"src/ubuntu/splashscreen.cpp"},"text":"","tail":"\n    ","_children":[]}]},{"_id":61,"tag":"platform","attrib":{"name":"ios"},"text":"\n        ","tail":"\n\n    \n    ","_children":[{"_id":62,"tag":"config-file","attrib":{"target":"config.xml","parent":"/*"},"text":"\n\t\t    ","tail":"\n\n        ","_children":[{"_id":63,"tag":"feature","attrib":{"name":"SplashScreen"},"text":"\n\t\t\t    ","tail":"\n        ","_children":[{"_id":64,"tag":"param","attrib":{"name":"ios-package","value":"CDVSplashScreen"},"text":"","tail":"\n\t\t\t    ","_children":[]},{"_id":65,"tag":"param","attrib":{"name":"onload","value":"true"},"text":"","tail":"\n\t\t    ","_children":[]}]}]},{"_id":66,"tag":"header-file","attrib":{"src":"src/ios/CDVSplashScreen.h"},"text":"","tail":"\n        ","_children":[]},{"_id":67,"tag":"source-file","attrib":{"src":"src/ios/CDVSplashScreen.m"},"text":"","tail":"\n        ","_children":[]},{"_id":68,"tag":"header-file","attrib":{"src":"src/ios/CDVViewController+SplashScreen.h"},"text":"","tail":"\n        ","_children":[]},{"_id":69,"tag":"source-file","attrib":{"src":"src/ios/CDVViewController+SplashScreen.m"},"text":"","tail":"\n\n\t    ","_children":[]},{"_id":70,"tag":"framework","attrib":{"src":"CoreGraphics.framework"},"text":"","tail":"\n    ","_children":[]}]},{"_id":71,"tag":"platform","attrib":{"name":"blackberry10"},"text":"\n        ","tail":"\n\n    \n    ","_children":[{"_id":72,"tag":"source-file","attrib":{"src":"src/blackberry10/index.js","target-dir":"SplashScreen"},"text":"","tail":"\n        ","_children":[]},{"_id":73,"tag":"config-file","attrib":{"target":"www/config.xml","parent":"/widget"},"text":"\n            ","tail":"\n    ","_children":[{"_id":74,"tag":"feature","attrib":{"name":"SplashScreen","value":"SplashScreen"},"text":"","tail":"\n        ","_children":[]}]}]},{"_id":75,"tag":"platform","attrib":{"name":"wp8"},"text":"\n        ","tail":"\n\n    \n    ","_children":[{"_id":76,"tag":"config-file","attrib":{"target":"config.xml","parent":"/*"},"text":"\n            ","tail":"\n\n        ","_children":[{"_id":77,"tag":"feature","attrib":{"name":"SplashScreen"},"text":"\n                ","tail":"\n        ","_children":[{"_id":78,"tag":"param","attrib":{"name":"wp-package","value":"SplashScreen"},"text":"","tail":"\n                ","_children":[]},{"_id":79,"tag":"param","attrib":{"name":"onload","value":"true"},"text":"","tail":"\n            ","_children":[]}]}]},{"_id":80,"tag":"source-file","attrib":{"src":"src/wp/SplashScreen.cs"},"text":"","tail":"\n        ","_children":[]},{"_id":81,"tag":"source-file","attrib":{"src":"src/wp/ResolutionHelper.cs"},"text":"","tail":"\n\n    ","_children":[]}]},{"_id":82,"tag":"platform","attrib":{"name":"windows8"},"text":"\n        ","tail":"\n\n    \n    ","_children":[{"_id":83,"tag":"js-module","attrib":{"src":"www/windows/SplashScreenProxy.js","name":"SplashScreenProxy"},"text":"\n            ","tail":"\n    ","_children":[{"_id":84,"tag":"merges","attrib":{"target":""},"text":"","tail":"\n        ","_children":[]}]}]},{"_id":85,"tag":"platform","attrib":{"name":"windows"},"text":"\n        ","tail":"\n\n    \n    ","_children":[{"_id":86,"tag":"js-module","attrib":{"src":"www/windows/SplashScreenProxy.js","name":"SplashScreenProxy"},"text":"\n            ","tail":"\n    ","_children":[{"_id":87,"tag":"merges","attrib":{"target":""},"text":"","tail":"\n        ","_children":[]}]}]},{"_id":88,"tag":"platform","attrib":{"name":"tizen"},"text":"\n        ","tail":"\n\n    \n    ","_children":[{"_id":89,"tag":"js-module","attrib":{"src":"src/tizen/SplashScreenProxy.js","name":"SplashScreenProxy"},"text":"\n            ","tail":"\n    ","_children":[{"_id":90,"tag":"runs","attrib":{},"text":"","tail":"\n        ","_children":[]}]}]},{"_id":91,"tag":"platform","attrib":{"name":"browser"},"text":"\n        ","tail":"\n","_children":[{"_id":92,"tag":"js-module","attrib":{"src":"src/browser/SplashScreenProxy.js","name":"SplashScreenProxy"},"text":"\n            ","tail":"\n    ","_children":[{"_id":93,"tag":"runs","attrib":{},"text":"","tail":"\n        ","_children":[]}]}]}]}},"id":"cordova-plugin-splashscreen","version":"2.1.0","name":"Splashscreen","description":"Cordova Splashscreen Plugin","license":"Apache 2.0","repo":"https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git","issue":"https://issues.apache.org/jira/browse/CB/component/12320653","keywords":["cordova","splashscreen"]},".../SmartGrid2016/plugins/cordova-plugin-splashscreen":{"filepath":".../SmartGrid2016/plugins/cordova-plugin-splashscreen/plugin.xml","dir":".../SmartGrid2016/plugins/cordova-plugin-splashscreen","_et":{"_root":{"_id":94,"tag":"plugin","attrib":{"xmlns":"http://apache.org/cordova/ns/plugins/1.0","id":"cordova-plugin-splashscreen","version":"2.1.0"},"text":"\n    ","tail":null,"_children":[{"_id":95,"tag":"name","attrib":{},"text":"Splashscreen","tail":"\n    ","_children":[]},{"_id":96,"tag":"description","attrib":{},"text":"Cordova Splashscreen Plugin","tail":"\n    ","_children":[]},{"_id":97,"tag":"license","attrib":{},"text":"Apache 2.0","tail":"\n    ","_children":[]},{"_id":98,"tag":"keywords","attrib":{},"text":"cordova,splashscreen","tail":"\n    ","_children":[]},{"_id":99,"tag":"repo","attrib":{},"text":"https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git","tail":"\n    ","_children":[]},{"_id":100,"tag":"issue","attrib":{},"text":"https://issues.apache.org/jira/browse/CB/component/12320653","tail":"\n\n    ","_children":[]},{"_id":101,"tag":"engines","attrib":{},"text":"\n        ","tail":"\n\n    ","_children":[{"_id":102,"tag":"engine","attrib":{"name":"cordova-android","version":">=3.6.0"},"text":"","tail":"\n    ","_children":[]}]},{"_id":103,"tag":"js-module","attrib":{"src":"www/splashscreen.js","name":"SplashScreen"},"text":"\n        ","tail":"\n\n    \n    ","_children":[{"_id":104,"tag":"clobbers","attrib":{"target":"navigator.splashscreen"},"text":"","tail":"\n    ","_children":[]}]},{"_id":105,"tag":"platform","attrib":{"name":"android"},"text":"\n        ","tail":"\n\n    \n    ","_children":[{"_id":106,"tag":"config-file","attrib":{"target":"res/xml/config.xml","parent":"/*"},"text":"\n            ","tail":"\n\n        ","_children":[{"_id":107,"tag":"feature","attrib":{"name":"SplashScreen"},"text":"\n                ","tail":"\n        ","_children":[{"_id":108,"tag":"param","attrib":{"name":"android-package","value":"org.apache.cordova.splashscreen.SplashScreen"},"text":"","tail":"\n                ","_children":[]},{"_id":109,"tag":"param","attrib":{"name":"onload","value":"true"},"text":"","tail":"\n            ","_children":[]}]}]},{"_id":110,"tag":"source-file","attrib":{"src":"src/android/SplashScreen.java","target-dir":"src/org/apache/cordova/splashscreen"},"text":"","tail":"\n    ","_children":[]}]},{"_id":111,"tag":"platform","attrib":{"name":"amazon-fireos"},"text":"\n        ","tail":"\n\n    \n    ","_children":[{"_id":112,"tag":"config-file","attrib":{"target":"res/xml/config.xml","parent":"/*"},"text":"\n            ","tail":"\n\n        ","_children":[{"_id":113,"tag":"feature","attrib":{"name":"SplashScreen"},"text":"\n            ","tail":"\n        ","_children":[{"_id":114,"tag":"param","attrib":{"name":"android-package","value":"org.apache.cordova.splashscreen.SplashScreen"},"text":"","tail":"\n            ","_children":[]}]}]},{"_id":115,"tag":"source-file","attrib":{"src":"src/android/SplashScreen.java","target-dir":"src/org/apache/cordova/splashscreen"},"text":"","tail":"\n    ","_children":[]}]},{"_id":116,"tag":"platform","attrib":{"name":"ubuntu"},"text":"\n        ","tail":"\n\n    \n    ","_children":[{"_id":117,"tag":"header-file","attrib":{"src":"src/ubuntu/splashscreen.h"},"text":"","tail":"\n        ","_children":[]},{"_id":118,"tag":"source-file","attrib":{"src":"src/ubuntu/splashscreen.cpp"},"text":"","tail":"\n    ","_children":[]}]},{"_id":119,"tag":"platform","attrib":{"name":"ios"},"text":"\n        ","tail":"\n\n    \n    ","_children":[{"_id":120,"tag":"config-file","attrib":{"target":"config.xml","parent":"/*"},"text":"\n\t\t    ","tail":"\n\n        ","_children":[{"_id":121,"tag":"feature","attrib":{"name":"SplashScreen"},"text":"\n\t\t\t    ","tail":"\n        ","_children":[{"_id":122,"tag":"param","attrib":{"name":"ios-package","value":"CDVSplashScreen"},"text":"","tail":"\n\t\t\t    ","_children":[]},{"_id":123,"tag":"param","attrib":{"name":"onload","value":"true"},"text":"","tail":"\n\t\t    ","_children":[]}]}]},{"_id":124,"tag":"header-file","attrib":{"src":"src/ios/CDVSplashScreen.h"},"text":"","tail":"\n        ","_children":[]},{"_id":125,"tag":"source-file","attrib":{"src":"src/ios/CDVSplashScreen.m"},"text":"","tail":"\n        ","_children":[]},{"_id":126,"tag":"header-file","attrib":{"src":"src/ios/CDVViewController+SplashScreen.h"},"text":"","tail":"\n        ","_children":[]},{"_id":127,"tag":"source-file","attrib":{"src":"src/ios/CDVViewController+SplashScreen.m"},"text":"","tail":"\n\n\t    ","_children":[]},{"_id":128,"tag":"framework","attrib":{"src":"CoreGraphics.framework"},"text":"","tail":"\n    ","_children":[]}]},{"_id":129,"tag":"platform","attrib":{"name":"blackberry10"},"text":"\n        ","tail":"\n\n    \n    ","_children":[{"_id":130,"tag":"source-file","attrib":{"src":"src/blackberry10/index.js","target-dir":"SplashScreen"},"text":"","tail":"\n        ","_children":[]},{"_id":131,"tag":"config-file","attrib":{"target":"www/config.xml","parent":"/widget"},"text":"\n            ","tail":"\n    ","_children":[{"_id":132,"tag":"feature","attrib":{"name":"SplashScreen","value":"SplashScreen"},"text":"","tail":"\n        ","_children":[]}]}]},{"_id":133,"tag":"platform","attrib":{"name":"wp8"},"text":"\n        ","tail":"\n\n    \n    ","_children":[{"_id":134,"tag":"config-file","attrib":{"target":"config.xml","parent":"/*"},"text":"\n            ","tail":"\n\n        ","_children":[{"_id":135,"tag":"feature","attrib":{"name":"SplashScreen"},"text":"\n                ","tail":"\n        ","_children":[{"_id":136,"tag":"param","attrib":{"name":"wp-package","value":"SplashScreen"},"text":"","tail":"\n                ","_children":[]},{"_id":137,"tag":"param","attrib":{"name":"onload","value":"true"},"text":"","tail":"\n            ","_children":[]}]}]},{"_id":138,"tag":"source-file","attrib":{"src":"src/wp/SplashScreen.cs"},"text":"","tail":"\n        ","_children":[]},{"_id":139,"tag":"source-file","attrib":{"src":"src/wp/ResolutionHelper.cs"},"text":"","tail":"\n\n    ","_children":[]}]},{"_id":140,"tag":"platform","attrib":{"name":"windows8"},"text":"\n        ","tail":"\n\n    \n    ","_children":[{"_id":141,"tag":"js-module","attrib":{"src":"www/windows/SplashScreenProxy.js","name":"SplashScreenProxy"},"text":"\n            ","tail":"\n    ","_children":[{"_id":142,"tag":"merges","attrib":{"target":""},"text":"","tail":"\n        ","_children":[]}]}]},{"_id":143,"tag":"platform","attrib":{"name":"windows"},"text":"\n        ","tail":"\n\n    \n    ","_children":[{"_id":144,"tag":"js-module","attrib":{"src":"www/windows/SplashScreenProxy.js","name":"SplashScreenProxy"},"text":"\n            ","tail":"\n    ","_children":[{"_id":145,"tag":"merges","attrib":{"target":""},"text":"","tail":"\n        ","_children":[]}]}]},{"_id":146,"tag":"platform","attrib":{"name":"tizen"},"text":"\n        ","tail":"\n\n    \n    ","_children":[{"_id":147,"tag":"js-module","attrib":{"src":"src/tizen/SplashScreenProxy.js","name":"SplashScreenProxy"},"text":"\n            ","tail":"\n    ","_children":[{"_id":148,"tag":"runs","attrib":{},"text":"","tail":"\n        ","_children":[]}]}]},{"_id":149,"tag":"platform","attrib":{"name":"browser"},"text":"\n        ","tail":"\n","_children":[{"_id":150,"tag":"js-module","attrib":{"src":"src/browser/SplashScreenProxy.js","name":"SplashScreenProxy"},"text":"\n            ","tail":"\n    ","_children":[{"_id":151,"tag":"runs","attrib":{},"text":"","tail":"\n        ","_children":[]}]}]}]}},"id":"cordova-plugin-splashscreen","version":"2.1.0","name":"Splashscreen","description":"Cordova Splashscreen Plugin","license":"Apache 2.0","repo":"https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git","issue":"https://issues.apache.org/jira/browse/CB/component/12320653","keywords":["cordova","splashscreen"]}},"_getAllCache":{}},"nohooks":["."]}"
Installing "cordova-plugin-splashscreen" for android
Running command: .../SmartGrid2016/platforms/android/cordova/version 
Command finished with error code 0: .../SmartGrid2016/platforms/android/cordova/version 
Install start for "cordova-plugin-splashscreen" on android.
Beginning processing of action stack for android project...
Parsing android project files...
Action stack processing complete.
Writing out android project files...
Preparing android project
Processing configuration changes for plugins.
Iterating over installed plugins: [ 'cordova-plugin-splashscreen' ]
Writing out cordova_plugins.js...
Install complete for cordova-plugin-splashscreen on android.
Calling plugman.fetch on plugin ".../cachedPlugins.M0sQCX.tmp/cache.kseIK5.pl/cordova-plugin-whitelist"
Copying plugin ".../cachedPlugins.M0sQCX.tmp/cache.kseIK5.pl/cordova-plugin-whitelist" => ".../SmartGrid2016/plugins/cordova-plugin-whitelist"
Calling plugman.install on plugin ".../SmartGrid2016/plugins/cordova-plugin-whitelist" for platform "android" with options "{"cli_variables":{},"browserify":false,"link":false,"pluginInfoProvider":{"_cache":{".../cachedPlugins.M0sQCX.tmp/cache.kseIK5.pl/cordova-plugin-whitelist":{"filepath":".../cachedPlugins.M0sQCX.tmp/cache.kseIK5.pl/cordova-plugin-whitelist/plugin.xml","dir":".../cachedPlugins.M0sQCX.tmp/cache.kseIK5.pl/cordova-plugin-whitelist","_et":{"_root":{"_id":36,"tag":"plugin","attrib":{"xmlns":"http://apache.org/cordova/ns/plugins/1.0","id":"cordova-plugin-whitelist","version":"1.1.0"},"text":"\n    ","tail":null,"_children":[{"_id":37,"tag":"name","attrib":{},"text":"Whitelist","tail":"\n    ","_children":[]},{"_id":38,"tag":"description","attrib":{},"text":"Cordova Network Whitelist Plugin","tail":"\n    ","_children":[]},{"_id":39,"tag":"license","attrib":{},"text":"Apache 2.0","tail":"\n    ","_children":[]},{"_id":40,"tag":"keywords","attrib":{},"text":"cordova,whitelist,policy","tail":"\n\n    ","_children":[]},{"_id":41,"tag":"engines","attrib":{},"text":"\n      ","tail":"\n\n    ","_children":[{"_id":42,"tag":"engine","attrib":{"name":"cordova-android","version":">=4.0.0-dev"},"text":"","tail":"\n      ","_children":[]},{"_id":43,"tag":"engine","attrib":{"name":"cordova-ios","version":">=4.0.0-dev"},"text":"","tail":"\n    ","_children":[]}]},{"_id":44,"tag":"platform","attrib":{"name":"android"},"text":"\n        ","tail":"\n\n    ","_children":[{"_id":45,"tag":"config-file","attrib":{"target":"res/xml/config.xml","parent":"/*"},"text":"\n            ","tail":"\n\n        ","_children":[{"_id":46,"tag":"feature","attrib":{"name":"Whitelist"},"text":"\n                ","tail":"\n        ","_children":[{"_id":47,"tag":"param","attrib":{"name":"android-package","value":"org.apache.cordova.whitelist.WhitelistPlugin"},"text":"","tail":"\n                ","_children":[]},{"_id":48,"tag":"param","attrib":{"name":"onload","value":"true"},"text":"","tail":"\n            ","_children":[]}]}]},{"_id":49,"tag":"source-file","attrib":{"src":"src/android/WhitelistPlugin.java","target-dir":"src/org/apache/cordova/whitelist"},"text":"","tail":"\n\n        ","_children":[]},{"_id":50,"tag":"js-module","attrib":{"src":"whitelist.js","name":"whitelist"},"text":"\n            ","tail":"\n    ","_children":[{"_id":51,"tag":"runs","attrib":{},"text":"","tail":"\n        ","_children":[]}]}]},{"_id":52,"tag":"platform","attrib":{"name":"ios"},"text":"\n        ","tail":"\n\n","_children":[{"_id":53,"tag":"config-file","attrib":{"target":"config.xml","parent":"/*"},"text":"\n            ","tail":"\n        ","_children":[{"_id":54,"tag":"feature","attrib":{"name":"Whitelist"},"text":"\n                ","tail":"\n        ","_children":[{"_id":55,"tag":"param","attrib":{"name":"ios-package","value":"CDVNavigationWhitelistPlugin"},"text":"","tail":" \n                ","_children":[]},{"_id":56,"tag":"param","attrib":{"name":"onload","value":"true"},"text":"","tail":"\n            ","_children":[]}]}]},{"_id":57,"tag":"header-file","attrib":{"src":"src/ios/CDVNavigationWhitelistPlugin.h"},"text":"","tail":"\n        ","_children":[]},{"_id":58,"tag":"source-file","attrib":{"src":"src/ios/CDVNavigationWhitelistPlugin.m"},"text":"","tail":"\n\n        ","_children":[]},{"_id":59,"tag":"js-module","attrib":{"src":"whitelist.js","name":"whitelist"},"text":"\n            ","tail":"\n    ","_children":[{"_id":60,"tag":"runs","attrib":{},"text":"","tail":"\n        ","_children":[]}]}]}]}},"id":"cordova-plugin-whitelist","version":"1.1.0","name":"Whitelist","description":"Cordova Network Whitelist Plugin","license":"Apache 2.0","keywords":["cordova","whitelist","policy"]},".../SmartGrid2016/plugins/cordova-plugin-whitelist":{"filepath":".../SmartGrid2016/plugins/cordova-plugin-whitelist/plugin.xml","dir":".../SmartGrid2016/plugins/cordova-plugin-whitelist","_et":{"_root":{"_id":61,"tag":"plugin","attrib":{"xmlns":"http://apache.org/cordova/ns/plugins/1.0","id":"cordova-plugin-whitelist","version":"1.1.0"},"text":"\n    ","tail":null,"_children":[{"_id":62,"tag":"name","attrib":{},"text":"Whitelist","tail":"\n    ","_children":[]},{"_id":63,"tag":"description","attrib":{},"text":"Cordova Network Whitelist Plugin","tail":"\n    ","_children":[]},{"_id":64,"tag":"license","attrib":{},"text":"Apache 2.0","tail":"\n    ","_children":[]},{"_id":65,"tag":"keywords","attrib":{},"text":"cordova,whitelist,policy","tail":"\n\n    ","_children":[]},{"_id":66,"tag":"engines","attrib":{},"text":"\n      ","tail":"\n\n    ","_children":[{"_id":67,"tag":"engine","attrib":{"name":"cordova-android","version":">=4.0.0-dev"},"text":"","tail":"\n      ","_children":[]},{"_id":68,"tag":"engine","attrib":{"name":"cordova-ios","version":">=4.0.0-dev"},"text":"","tail":"\n    ","_children":[]}]},{"_id":69,"tag":"platform","attrib":{"name":"android"},"text":"\n        ","tail":"\n\n    ","_children":[{"_id":70,"tag":"config-file","attrib":{"target":"res/xml/config.xml","parent":"/*"},"text":"\n            ","tail":"\n\n        ","_children":[{"_id":71,"tag":"feature","attrib":{"name":"Whitelist"},"text":"\n                ","tail":"\n        ","_children":[{"_id":72,"tag":"param","attrib":{"name":"android-package","value":"org.apache.cordova.whitelist.WhitelistPlugin"},"text":"","tail":"\n                ","_children":[]},{"_id":73,"tag":"param","attrib":{"name":"onload","value":"true"},"text":"","tail":"\n            ","_children":[]}]}]},{"_id":74,"tag":"source-file","attrib":{"src":"src/android/WhitelistPlugin.java","target-dir":"src/org/apache/cordova/whitelist"},"text":"","tail":"\n\n        ","_children":[]},{"_id":75,"tag":"js-module","attrib":{"src":"whitelist.js","name":"whitelist"},"text":"\n            ","tail":"\n    ","_children":[{"_id":76,"tag":"runs","attrib":{},"text":"","tail":"\n        ","_children":[]}]}]},{"_id":77,"tag":"platform","attrib":{"name":"ios"},"text":"\n        ","tail":"\n\n","_children":[{"_id":78,"tag":"config-file","attrib":{"target":"config.xml","parent":"/*"},"text":"\n            ","tail":"\n        ","_children":[{"_id":79,"tag":"feature","attrib":{"name":"Whitelist"},"text":"\n                ","tail":"\n        ","_children":[{"_id":80,"tag":"param","attrib":{"name":"ios-package","value":"CDVNavigationWhitelistPlugin"},"text":"","tail":" \n                ","_children":[]},{"_id":81,"tag":"param","attrib":{"name":"onload","value":"true"},"text":"","tail":"\n            ","_children":[]}]}]},{"_id":82,"tag":"header-file","attrib":{"src":"src/ios/CDVNavigationWhitelistPlugin.h"},"text":"","tail":"\n        ","_children":[]},{"_id":83,"tag":"source-file","attrib":{"src":"src/ios/CDVNavigationWhitelistPlugin.m"},"text":"","tail":"\n\n        ","_children":[]},{"_id":84,"tag":"js-module","attrib":{"src":"whitelist.js","name":"whitelist"},"text":"\n            ","tail":"\n    ","_children":[{"_id":85,"tag":"runs","attrib":{},"text":"","tail":"\n        ","_children":[]}]}]}]}},"id":"cordova-plugin-whitelist","version":"1.1.0","name":"Whitelist","description":"Cordova Network Whitelist Plugin","license":"Apache 2.0","keywords":["cordova","whitelist","policy"]}},"_getAllCache":{}},"nohooks":["."]}"
Installing "cordova-plugin-whitelist" for android
Running command: .../SmartGrid2016/platforms/android/cordova/version 
Command finished with error code 0: .../SmartGrid2016/platforms/android/cordova/version 
Install start for "cordova-plugin-whitelist" on android.
Beginning processing of action stack for android project...
Parsing android project files...
Action stack processing complete.
Writing out android project files...
Preparing android project
Processing configuration changes for plugins.
Iterating over installed plugins: [ 'cordova-plugin-splashscreen', 'cordova-plugin-whitelist' ]
Writing out cordova_plugins.js...
Install complete for cordova-plugin-whitelist on android.
Calling plugman.fetch on plugin ".../cachedPlugins.M0sQCX.tmp/cache.2LzAqU.pl/cordova-plugin-crosswalk-webview"
Copying plugin ".../cachedPlugins.M0sQCX.tmp/cache.2LzAqU.pl/cordova-plugin-crosswalk-webview" => ".../SmartGrid2016/plugins/cordova-plugin-crosswalk-webview"
Calling plugman.install on plugin ".../SmartGrid2016/plugins/cordova-plugin-crosswalk-webview" for platform "android" with options "{"cli_variables":{},"browserify":false,"link":false,"pluginInfoProvider":{"_cache":{".../cachedPlugins.M0sQCX.tmp/cache.2LzAqU.pl/cordova-plugin-crosswalk-webview":{"filepath":".../cachedPlugins.M0sQCX.tmp/cache.2LzAqU.pl/cordova-plugin-crosswalk-webview/plugin.xml","dir":".../cachedPlugins.M0sQCX.tmp/cache.2LzAqU.pl/cordova-plugin-crosswalk-webview","_et":{"_root":{"_id":36,"tag":"plugin","attrib":{"xmlns":"http://apache.org/cordova/ns/plugins/1.0","id":"cordova-plugin-crosswalk-webview","version":"1.3.1"},"text":"\n\n    ","tail":null,"_children":[{"_id":37,"tag":"name","attrib":{},"text":"Crosswalk WebView Engine","tail":"\n    ","_children":[]},{"_id":38,"tag":"description","attrib":{},"text":"Changes the default WebView to CrossWalk","tail":"\n    ","_children":[]},{"_id":39,"tag":"license","attrib":{},"text":"Apache 2.0","tail":"\n    ","_children":[]},{"_id":40,"tag":"keywords","attrib":{},"text":"cordova,chromium,crosswalk,webview","tail":"\n    ","_children":[]},{"_id":41,"tag":"repo","attrib":{},"text":"https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview","tail":"\n    ","_children":[]},{"_id":42,"tag":"issue","attrib":{},"text":"https://crosswalk-project.org/jira","tail":"\n\n    ","_children":[]},{"_id":43,"tag":"engines","attrib":{},"text":"\n        ","tail":"\n\n    \n    ","_children":[{"_id":44,"tag":"engine","attrib":{"name":"cordova-android","version":">=4"},"text":"","tail":"\n        ","_children":[]},{"_id":45,"tag":"engine","attrib":{"name":"cordova-plugman","version":">=4.2.0"},"text":"","tail":"\n    ","_children":[]}]},{"_id":46,"tag":"platform","attrib":{"name":"android"},"text":"\n        ","tail":"\n","_children":[{"_id":47,"tag":"config-file","attrib":{"target":"res/xml/config.xml","parent":"/*"},"text":"\n            ","tail":"\n\n        ","_children":[{"_id":48,"tag":"preference","attrib":{"name":"webView","value":"org.crosswalk.engine.XWalkWebViewEngine"},"text":"","tail":"\n            ","_children":[]},{"_id":49,"tag":"preference","attrib":{"name":"xwalkVersion","default":"14+"},"text":"","tail":"\n            ","_children":[]},{"_id":50,"tag":"preference","attrib":{"name":"xwalkCommandLine","default":"--disable-pull-to-refresh-effect"},"text":"","tail":"\n            ","_children":[]},{"_id":51,"tag":"preference","attrib":{"name":"xwalkMode","default":"embedded"},"text":"","tail":"\n        ","_children":[]}]},{"_id":52,"tag":"config-file","attrib":{"target":"AndroidManifest.xml","parent":"/*"},"text":"\n            ","tail":"\n\n        ","_children":[{"_id":53,"tag":"uses-permission","attrib":{"android:name":"android.permission.ACCESS_NETWORK_STATE"},"text":"","tail":"\n            ","_children":[]},{"_id":54,"tag":"uses-permission","attrib":{"android:name":"android.permission.ACCESS_WIFI_STATE"},"text":"","tail":"\n        ","_children":[]}]},{"_id":55,"tag":"source-file","attrib":{"src":"platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java","target-dir":"src/org/crosswalk/engine"},"text":"","tail":"\n        ","_children":[]},{"_id":56,"tag":"source-file","attrib":{"src":"platforms/android/src/org/crosswalk/engine/XWalkExposedJsApi.java","target-dir":"src/org/crosswalk/engine"},"text":"","tail":"\n        ","_children":[]},{"_id":57,"tag":"source-file","attrib":{"src":"platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java","target-dir":"src/org/crosswalk/engine"},"text":"","tail":"\n        ","_children":[]},{"_id":58,"tag":"source-file","attrib":{"src":"platforms/android/src/org/crosswalk/engine/XWalkCordovaUiClient.java","target-dir":"src/org/crosswalk/engine"},"text":"","tail":"\n        ","_children":[]},{"_id":59,"tag":"source-file","attrib":{"src":"platforms/android/src/org/crosswalk/engine/XWalkCordovaView.java","target-dir":"src/org/crosswalk/engine"},"text":"","tail":"\n        ","_children":[]},{"_id":60,"tag":"source-file","attrib":{"src":"platforms/android/src/org/crosswalk/engine/XWalkCordovaCookieManager.java","target-dir":"src/org/crosswalk/engine"},"text":"","tail":"\n\n        ","_children":[]},{"_id":61,"tag":"framework","attrib":{"src":"platforms/android/xwalk.gradle","custom":"true","type":"gradleReference"},"text":"","tail":"\n\n        ","_children":[]},{"_id":62,"tag":"hook","attrib":{"type":"after_plugin_install","src":"hooks/after_plugin_install/000-shared_mode_special.js"},"text":"","tail":"\n        ","_children":[]},{"_id":63,"tag":"hook","attrib":{"type":"before_plugin_uninstall","src":"hooks/before_plugin_uninstall/000-shared_mode_special.js"},"text":"","tail":"\n    ","_children":[]}]}]}},"id":"cordova-plugin-crosswalk-webview","version":"1.3.1","name":"Crosswalk WebView Engine","description":"Changes the default WebView to CrossWalk","license":"Apache 2.0","repo":"https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview","issue":"https://crosswalk-project.org/jira","keywords":["cordova","chromium","crosswalk","webview"]},".../SmartGrid2016/plugins/cordova-plugin-crosswalk-webview":{"filepath":".../SmartGrid2016/plugins/cordova-plugin-crosswalk-webview/plugin.xml","dir":".../SmartGrid2016/plugins/cordova-plugin-crosswalk-webview","_et":{"_root":{"_id":64,"tag":"plugin","attrib":{"xmlns":"http://apache.org/cordova/ns/plugins/1.0","id":"cordova-plugin-crosswalk-webview","version":"1.3.1"},"text":"\n\n    ","tail":null,"_children":[{"_id":65,"tag":"name","attrib":{},"text":"Crosswalk WebView Engine","tail":"\n    ","_children":[]},{"_id":66,"tag":"description","attrib":{},"text":"Changes the default WebView to CrossWalk","tail":"\n    ","_children":[]},{"_id":67,"tag":"license","attrib":{},"text":"Apache 2.0","tail":"\n    ","_children":[]},{"_id":68,"tag":"keywords","attrib":{},"text":"cordova,chromium,crosswalk,webview","tail":"\n    ","_children":[]},{"_id":69,"tag":"repo","attrib":{},"text":"https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview","tail":"\n    ","_children":[]},{"_id":70,"tag":"issue","attrib":{},"text":"https://crosswalk-project.org/jira","tail":"\n\n    ","_children":[]},{"_id":71,"tag":"engines","attrib":{},"text":"\n        ","tail":"\n\n    \n    ","_children":[{"_id":72,"tag":"engine","attrib":{"name":"cordova-android","version":">=4"},"text":"","tail":"\n        ","_children":[]},{"_id":73,"tag":"engine","attrib":{"name":"cordova-plugman","version":">=4.2.0"},"text":"","tail":"\n    ","_children":[]}]},{"_id":74,"tag":"platform","attrib":{"name":"android"},"text":"\n        ","tail":"\n","_children":[{"_id":75,"tag":"config-file","attrib":{"target":"res/xml/config.xml","parent":"/*"},"text":"\n            ","tail":"\n\n        ","_children":[{"_id":76,"tag":"preference","attrib":{"name":"webView","value":"org.crosswalk.engine.XWalkWebViewEngine"},"text":"","tail":"\n            ","_children":[]},{"_id":77,"tag":"preference","attrib":{"name":"xwalkVersion","default":"14+"},"text":"","tail":"\n            ","_children":[]},{"_id":78,"tag":"preference","attrib":{"name":"xwalkCommandLine","default":"--disable-pull-to-refresh-effect"},"text":"","tail":"\n            ","_children":[]},{"_id":79,"tag":"preference","attrib":{"name":"xwalkMode","default":"embedded"},"text":"","tail":"\n        ","_children":[]}]},{"_id":80,"tag":"config-file","attrib":{"target":"AndroidManifest.xml","parent":"/*"},"text":"\n            ","tail":"\n\n        ","_children":[{"_id":81,"tag":"uses-permission","attrib":{"android:name":"android.permission.ACCESS_NETWORK_STATE"},"text":"","tail":"\n            ","_children":[]},{"_id":82,"tag":"uses-permission","attrib":{"android:name":"android.permission.ACCESS_WIFI_STATE"},"text":"","tail":"\n        ","_children":[]}]},{"_id":83,"tag":"source-file","attrib":{"src":"platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java","target-dir":"src/org/crosswalk/engine"},"text":"","tail":"\n        ","_children":[]},{"_id":84,"tag":"source-file","attrib":{"src":"platforms/android/src/org/crosswalk/engine/XWalkExposedJsApi.java","target-dir":"src/org/crosswalk/engine"},"text":"","tail":"\n        ","_children":[]},{"_id":85,"tag":"source-file","attrib":{"src":"platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java","target-dir":"src/org/crosswalk/engine"},"text":"","tail":"\n        ","_children":[]},{"_id":86,"tag":"source-file","attrib":{"src":"platforms/android/src/org/crosswalk/engine/XWalkCordovaUiClient.java","target-dir":"src/org/crosswalk/engine"},"text":"","tail":"\n        ","_children":[]},{"_id":87,"tag":"source-file","attrib":{"src":"platforms/android/src/org/crosswalk/engine/XWalkCordovaView.java","target-dir":"src/org/crosswalk/engine"},"text":"","tail":"\n        ","_children":[]},{"_id":88,"tag":"source-file","attrib":{"src":"platforms/android/src/org/crosswalk/engine/XWalkCordovaCookieManager.java","target-dir":"src/org/crosswalk/engine"},"text":"","tail":"\n\n        ","_children":[]},{"_id":89,"tag":"framework","attrib":{"src":"platforms/android/xwalk.gradle","custom":"true","type":"gradleReference"},"text":"","tail":"\n\n        ","_children":[]},{"_id":90,"tag":"hook","attrib":{"type":"after_plugin_install","src":"hooks/after_plugin_install/000-shared_mode_special.js"},"text":"","tail":"\n        ","_children":[]},{"_id":91,"tag":"hook","attrib":{"type":"before_plugin_uninstall","src":"hooks/before_plugin_uninstall/000-shared_mode_special.js"},"text":"","tail":"\n    ","_children":[]}]}]}},"id":"cordova-plugin-crosswalk-webview","version":"1.3.1","name":"Crosswalk WebView Engine","description":"Changes the default WebView to CrossWalk","license":"Apache 2.0","repo":"https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview","issue":"https://crosswalk-project.org/jira","keywords":["cordova","chromium","crosswalk","webview"]}},"_getAllCache":{}},"nohooks":["."]}"
Installing "cordova-plugin-crosswalk-webview" for android
Running command: .../SmartGrid2016/platforms/android/cordova/version 
Command finished with error code 0: .../SmartGrid2016/platforms/android/cordova/version 
Install start for "cordova-plugin-crosswalk-webview" on android.
Beginning processing of action stack for android project...
Parsing android project files...
Installing Android library: platforms/android/xwalk.gradle
Action stack processing complete.
Writing out android project files...
Preparing android project
Processing configuration changes for plugins.
Iterating over installed plugins: [ 'cordova-plugin-splashscreen',
  'cordova-plugin-whitelist',
  'cordova-plugin-crosswalk-webview' ]
Writing out cordova_plugins.js...
Install complete for cordova-plugin-crosswalk-webview on android.
Updating build files since android plugin contained <framework>
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: [ 'cordova-plugin-splashscreen',
  'cordova-plugin-whitelist',
  'cordova-plugin-crosswalk-webview' ]
Writing out cordova_plugins.js...
Wrote out Android application name to "Smart-Grid-2016"
deleted: .../SmartGrid2016/platforms/android/res/drawable-land-hdpi/screen.png
deleted: .../SmartGrid2016/platforms/android/res/drawable-land-ldpi/screen.png
deleted: .../SmartGrid2016/platforms/android/res/drawable-land-mdpi/screen.png
deleted: .../SmartGrid2016/platforms/android/res/drawable-land-xhdpi/screen.png
deleted: .../SmartGrid2016/platforms/android/res/drawable-port-hdpi/screen.png
deleted: .../SmartGrid2016/platforms/android/res/drawable-port-ldpi/screen.png
deleted: .../SmartGrid2016/platforms/android/res/drawable-port-mdpi/screen.png
deleted: .../SmartGrid2016/platforms/android/res/drawable-port-xhdpi/screen.png
splash screens: [{"src":"www/res/android/320-426.jpg","density":"port-ldpi","platform":"android","width":320,"height":426},{"src":"www/res/android/320-470.jpg","density":"port-mdpi","platform":"android","width":320,"height":470},{"src":"www/res/android/480-640.jpg","density":"port-hdpi","platform":"android","width":480,"height":640},{"src":"www/res/android/720-960.jpg","density":"port-xhdpi","platform":"android","width":720,"height":960}]
copying image from .../SmartGrid2016/www/res/android/320-426.jpg to .../SmartGrid2016/platforms/android/res/drawable-port-ldpi/screen.png
copying image from .../SmartGrid2016/www/res/android/320-470.jpg to .../SmartGrid2016/platforms/android/res/drawable-port-mdpi/screen.png
copying image from .../SmartGrid2016/www/res/android/480-640.jpg to .../SmartGrid2016/platforms/android/res/drawable-port-hdpi/screen.png
copying image from .../SmartGrid2016/www/res/android/720-960.jpg to .../SmartGrid2016/platforms/android/res/drawable-port-xhdpi/screen.png
deleted: .../SmartGrid2016/platforms/android/res/drawable-hdpi/icon.png
deleted: .../SmartGrid2016/platforms/android/res/drawable-ldpi/icon.png
deleted: .../SmartGrid2016/platforms/android/res/drawable-mdpi/icon.png
deleted: .../SmartGrid2016/platforms/android/res/drawable-xhdpi/icon.png
copying image from .../SmartGrid2016/www/res/android/icon36.png to .../SmartGrid2016/platforms/android/res/drawable-ldpi/icon.png
copying image from .../SmartGrid2016/www/res/android/icon48.png to .../SmartGrid2016/platforms/android/res/drawable-mdpi/icon.png
copying image from .../SmartGrid2016/www/res/android/icon72.png to .../SmartGrid2016/platforms/android/res/drawable-hdpi/icon.png
copying image from .../SmartGrid2016/www/res/android/icon96.png to .../SmartGrid2016/platforms/android/res/drawable-xhdpi/icon.png
Wrote out Android package name to "xdk.intel.blank.ad.template.crosswalk"
************* Processing the main config.xml file (after_prepare)  *****************
App Directory = [.../SmartGrid2016]
Will process and update the following config files:
    Config.xml = [.../SmartGrid2016/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 [Smart-Grid-2016]
Updating full app name to [Smart-Grid-2016]
Processing preference android-minSdkVersion [14]
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
Saving config.xml to [.../SmartGrid2016/config.xml]
************* Completed processing the main config.xml file (after_prepare)  *****************
Running command: .../SmartGrid2016/platforms/android/cordova/build --release
ANDROID_HOME=/Developer/tools/adt-bundle/android-sdk
JAVA_HOME=/usr/lib/jvm/java-7-oracle-amd64
Running: .../SmartGrid2016/platforms/android/gradlew cdvBuildRelease -b .../SmartGrid2016/platforms/android/build.gradle --no-daemon
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_beta:15+
: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
:prepareOrgXwalkXwalk_core_library_beta154438413Library
:prepareArmv7ReleaseDependencies
:compileArmv7ReleaseAidl
:compileArmv7ReleaseRenderscript
:generateArmv7ReleaseBuildConfig
:generateArmv7ReleaseAssets UP-TO-DATE
:mergeArmv7ReleaseAssets
:createXwalkCommandLineFileArmv7Release
:generateArmv7ReleaseResValues
:generateArmv7ReleaseResources
:mergeArmv7ReleaseResourceslibpng error: Not a PNG file
libpng error: Not a PNG file
libpng error: Not a PNG file
libpng error: Not a PNG file

Error: Failed to run command:
	/Developer/tools/adt-bundle/android-sdk/build-tools/21.1.2/aapt s -i .../SmartGrid2016/platforms/android/res/drawable-port-mdpi/screen.png -o .../SmartGrid2016/platforms/android/build/intermediates/res/armv7/release/drawable-port-mdpi-v4/screen.png
Error Code:
	42
Output:
	libpng error: Not a PNG file

:mergeArmv7ReleaseResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':mergeArmv7ReleaseResources'.
> Error: Failed to run command:
  	/Developer/tools/adt-bundle/android-sdk/build-tools/21.1.2/aapt s -i .../SmartGrid2016/platforms/android/res/drawable-port-mdpi/screen.png -o .../SmartGrid2016/platforms/android/build/intermediates/res/armv7/release/drawable-port-mdpi-v4/screen.png
  Error Code:
  	42
  Output:
  	libpng error: Not a PNG file


* 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: 23.305 secs

.../SmartGrid2016/platforms/android/cordova/node_modules/q/q.js:126
                    throw e;
                          ^
Error code 1 for command: .../SmartGrid2016/platforms/android/gradlew with args: cdvBuildRelease,-b,.../SmartGrid2016/platforms/android/build.gradle,--no-daemon
Command finished with error code 8: .../SmartGrid2016/platforms/android/cordova/build --release
ERROR building one of the platforms: Error: .../SmartGrid2016/platforms/android/cordova/build: Command failed with exit code 8
You may not have the required environment or OS to build this project
Error: .../SmartGrid2016/platforms/android/cordova/build: Command failed with exit code 8
    at ChildProcess.whenDone (/Developer/cordova/cordova-cli/5.1.1/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:134: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)

 

0 Kudos
1 Solution
Hamilton_Tenório_da_
Valued Contributor I
300 Views

Great!

I use only PNG in all assets. In order to reduce size, in splash screen I use PNG 8 bits not transparent (poor quality, but small size).

View solution in original post

0 Kudos
5 Replies
Hamilton_Tenório_da_
Valued Contributor I
300 Views

Look the log, it seems that the problem is about an image: 

error: Not a PNG file
libpng error: Not a PNG file
libpng error: Not a PNG file
libpng error: Not a PNG file

 

Check your stuff to confirm if all images are PNG format

0 Kudos
nermeen_m_
Beginner
300 Views

Thank you, I changed all the pictures to .PNG and it worked well

but in the splash screen it is allowed to use PNG and JPG (I wonder why the JPG is not accepted)

splash screen_0.png

thank you

0 Kudos
Hamilton_Tenório_da_
Valued Contributor I
301 Views

Great!

I use only PNG in all assets. In order to reduce size, in splash screen I use PNG 8 bits not transparent (poor quality, but small size).

0 Kudos
PaulF_IntelCorp
Employee
300 Views

With Cordova CLI 5 the Cordova team changed the restriction on all images so they must be PNG files. The UI has not been updated to reflect that change (JPG work in 4.1.2, the do not work in 5.1.1). We are working on a fix for the next release.

0 Kudos
nermeen_m_
Beginner
300 Views

Many thanks, sorry for disturbing you, but I am a beginner in XDK , I used it for three weeks only now.

0 Kudos
Reply