Skip to Content
0
Former Member
Nov 27, 2015 at 05:03 AM

Build Hybrid Companion App - Build the companion app error

103 Views

Hi guys,


I seem to be stuck in the error below in step no 3. Would appreciate some help!


ERROR:

The build script exited unexpectedly!

-plugin-file" already installed on android. Fetching plugin "cordova-plugin-network-information" via npm Installing "cordova-plugin-network-information" for android Fetching plugin "cordova-plugin-battery-status" via npm Installing "cordova-plugin-battery-status" for android Fetching plugin "cordova-plugin-device-motion" via npm Installing "cordova-plugin-device-motion" for android Fetching plugin "cordova-plugin-device-orientation" via npm Installing "cordova-plugin-device-orientation" for android Fetching plugin "cordova-plugin-geolocation" via npm Installing "cordova-plugin-geolocation" for android Fetching plugin "cordova-plugin-camera" via npm Installing "cordova-plugin-camera" for android Fetching plugin "cordova-plugin-media" via npm Installing "cordova-plugin-media" for android Fetching plugin "cordova-plugin-media-capture" via npm Installing "cordova-plugin-media-capture" for android Fetching plugin "cordova-plugin-file-transfer" via npm Installing "cordova-plugin-file-transfer" for android Fetching plugin "cordova-plugin-dialogs" via npm Plugin "cordova-plugin-dialogs" already installed on android. Fetching plugin "cordova-plugin-vibration" via npm Installing "cordova-plugin-vibration" for android Fetching plugin "cordova-plugin-contacts" via npm Installing "cordova-plugin-contacts" for android Fetching plugin "cordova-plugin-globalization" via npm Installing "cordova-plugin-globalization" for android Fetching plugin "cordova-plugin-splashscreen" via npm Installing "cordova-plugin-splashscreen" for android Fetching plugin "cordova-plugin-console" via npm Installing "cordova-plugin-console" for android Adding custom plugins... Copying assets Preparing... Running command: cmd "/s /c ""C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\cordova\build.bat""" ANDROID_HOME=C:\Users\Sam\AppData\Local\Android\sdk JAVA_HOME=C:\Program Files\Java\jdk1.8.0_66 Running: C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\gradlew cdvBuildDebug -b C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build.gradle -Dorg.gradle.daemon=true :preBuild :compileDebugNdk :preDebugBuild :checkDebugManifest :preReleaseBuild :CordovaLib:compileLint :CordovaLib:copyDebugLint UP-TO-DATE :CordovaLib:mergeDebugProguardFiles :CordovaLib:preBuild :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:compileDebugJava Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. :CordovaLib:processDebugJavaRes :CordovaLib:packageDebugJar :CordovaLib:compileDebugNdk :CordovaLib:packageDebugJniLibs UP-TO-DATE :CordovaLib:packageDebugLocalJar UP-TO-DATE :CordovaLib:packageDebugRenderscript UP-TO-DATE :CordovaLib:bundleDebug :CordovaLib:copyReleaseLint UP-TO-DATE :CordovaLib:mergeReleaseProguardFiles :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 :CordovaLib:packageReleaseJar :CordovaLib:compileReleaseNdk :CordovaLib:packageReleaseJniLibs UP-TO-DATE :CordovaLib:packageReleaseLocalJar UP-TO-DATE :CordovaLib:packageReleaseRenderscript UP-TO-DATE :CordovaLib:bundleRelease :prepareAfariaProvider3103Library :prepareAndroidCordovaLibUnspecifiedDebugLibrary :prepareAuthproxyAndroid3104Library :prepareComAndroidSupportSupportV42301Library :prepareComGoogleAndroidGmsPlayServicesBase730Library :prepareComGoogleAndroidGmsPlayServicesGcm730Library :prepareVoicerecordingAndroid3104Library :prepareDebugDependencies :compileDebugAidl :compileDebugRenderscript :generateDebugBuildConfig :generateDebugAssets UP-TO-DATE :mergeDebugAssets :generateDebugResValues :generateDebugResources :mergeDebugResources C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-hdpi\common_signin_btn_text_normal_dark.9.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-mdpi\common_signin_btn_icon_disabled_light.9.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-xxhdpi\ic_plusone_medium_off_client.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-xhdpi\common_signin_btn_icon_focus_light.9.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-xxhdpi\common_signin_btn_text_normal_light.9.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-hdpi\common_signin_btn_text_focus_light.9.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-hdpi\common_signin_btn_text_disabled_focus_dark.9.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-xxhdpi\common_signin_btn_icon_disabled_focus_light.9.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-xxhdpi\common_signin_btn_icon_focus_light.9.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-hdpi\common_signin_btn_icon_pressed_dark.9.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-tvdpi\ic_plusone_small_off_client.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-xxhdpi\common_signin_btn_text_disabled_dark.9.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-xxhdpi\common_signin_btn_icon_focus_dark.9.png ERROR: Unable to open PNG file Error: Failed to run command: C:\Users\Sam\AppData\Local\Android\sdk\build-tools\23.0.2\aapt.exe s -i C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-hdpi\common_signin_btn_text_normal_dark.9.png -o C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\res\debug\drawable-hdpi-v4\common_signin_btn_text_normal_dark.9.png Error Code: 42 Output: C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-hdpi\common_signin_btn_text_normal_dark.9.png ERROR: Unable to open PNG file :mergeDebugResources FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':mergeDebugResources'. > Error: Failed to run command: C:\Users\Sam\AppData\Local\Android\sdk\build-tools\23.0.2\aapt.exe s -i C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-hdpi\common_signin_btn_text_normal_dark.9.png -o C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\res\debug\drawable-hdpi-v4\common_signin_btn_text_normal_dark.9.png Error Code: 42 Output: C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-hdpi\common_signin_btn_text_normal_dark.9.png ERROR: Unable to open 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: 11.766 secs C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-xhdpi\common_signin_btn_icon_pressed_dark.9.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-hdpi\common_signin_btn_icon_disabled_focus_light.9.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\cordova\node_modules\q\q.js:126 throw e; ^ Error code 1 for command: cmd with args: /s /c ""C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\gradlew" cdvBuildDebug -b "C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build.gradle" -Dorg.gradle.daemon=true" ERROR building one of the platforms: Error: cmd: Command failed with exit code 1 You may not have the required environment or OS to build this project Error: cmd: Command failed with exit code 1 at ChildProcess.whenDone (C:\Users\Sam\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:139:23) at ChildProcess.emit (events.js:110:17) at maybeClose (child_process.js:1008:16) at Process.ChildProcess._handle.onexit (child_process.js:1080:5) The build process for android exited unexpectedly! The system cannot find the path specified. cmd error The node process of the build script exited with code 1. No config file specified. Searching for config.json in the current directory. Config file found at C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp/config.json. platforms: android 5.2.0 cordova version: 5.2.0 Creating WebIdeCompanion project. Creating a new cordova project. C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp Adding platforms... android Adding android project... Creating Cordova project for the Android platform: Path: platforms\android Package: com.sap.ide.companion Name: WebIdeCompanion Activity: MainActivity Android target: android-22 Copying template files... Android project created with cordova-android@4.1.1 Discovered plugin "cordova-plugin-whitelist" in config.xml. Installing to the project Fetching plugin "cordova-plugin-whitelist@1.0.0" via npm Installing "cordova-plugin-whitelist" for android Adding CompanionApp plugins... Installing "com.sap.companion.cordova.plugins.toolbar" for android For Android you need to modify the activity theme in the AndroidManifest.xml to be android:theme="@android:style/Theme.Holo.Light". The minSdkVersion must also be changed to at least 11. Installing "com.sap.companion.cordova.plugins.logout" for android Installing "com.sap.companion.cordova.plugins.authdialog" for android Adding optional Kapsel plugins... Installing "kapsel-plugin-corelibs" for android Installing "kapsel-plugin-apppreferences" for android Installing "kapsel-plugin-inappbrowser" for android Installing "kapsel-plugin-logon" for android Installing "kapsel-plugin-authproxy" for android Fetching plugin "cordova-plugin-device" via npm Installing "cordova-plugin-device" for android Installing "kapsel-plugin-i18n" for android Plugin "kapsel-plugin-authproxy" already installed on android. Installing "kapsel-plugin-appupdate" for android Fetching plugin "cordova-plugin-dialogs" via npm Installing "cordova-plugin-dialogs" for android Installing "kapsel-plugin-logger" for android Installing "kapsel-plugin-encryptedstorage" for android Installing "kapsel-plugin-settings" for android Installing "kapsel-plugin-push" for android For Android Studio, you must install the Google Repository found in the Android SDK Manager under Android SDK within SDK Tools tab. Installing "kapsel-plugin-barcodescanner" for android Installing "kapsel-plugin-odata" for android For Android, HAXM based emulators are not supported with the offline libraries. Installing "kapsel-plugin-e2etrace" for android Installing "kapsel-plugin-xhook" for android Installing "nl.x-services.plugins.calendar" for android Installing "kapsel-plugin-attachmentviewer" for android Installing "kapsel-plugin-voicerecording" for android Fetching plugin "cordova-plugin-file" via npm Installing "cordova-plugin-file" for android The Android Persistent storage location now defaults to "Internal". Please check this plugins README to see if you application needs any changes in its config.xml. If this is a new application no changes are required. If this is an update to an existing application that did not specify an "AndroidPersistentFileLocation" you may need to add: "<preference name="AndroidPersistentFileLocation" value="Compatibility" />" to config.xml in order for the application to find previously stored files. Fetching plugin "cordova-plugin-screen-orientation" via npm Installing "cordova-plugin-screen-orientation" for android Fetching plugin "cordova-plugin-device" via npm Plugin "cordova-plugin-device" already installed on android. Fetching plugin "cordova-plugin-file" via npm Plugin "cordova-plugin-file" already installed on android. Fetching plugin "cordova-plugin-network-information" via npm Installing "cordova-plugin-network-information" for android Fetching plugin "cordova-plugin-battery-status" via npm Installing "cordova-plugin-battery-status" for android Fetching plugin "cordova-plugin-device-motion" via npm Installing "cordova-plugin-device-motion" for android Fetching plugin "cordova-plugin-device-orientation" via npm Installing "cordova-plugin-device-orientation" for android Fetching plugin "cordova-plugin-geolocation" via npm Installing "cordova-plugin-geolocation" for android Fetching plugin "cordova-plugin-camera" via npm Installing "cordova-plugin-camera" for android Fetching plugin "cordova-plugin-media" via npm Installing "cordova-plugin-media" for android Fetching plugin "cordova-plugin-media-capture" via npm Installing "cordova-plugin-media-capture" for android Fetching plugin "cordova-plugin-file-transfer" via npm Installing "cordova-plugin-file-transfer" for android Fetching plugin "cordova-plugin-dialogs" via npm Plugin "cordova-plugin-dialogs" already installed on android. Fetching plugin "cordova-plugin-vibration" via npm Installing "cordova-plugin-vibration" for android Fetching plugin "cordova-plugin-contacts" via npm Installing "cordova-plugin-contacts" for android Fetching plugin "cordova-plugin-globalization" via npm Installing "cordova-plugin-globalization" for android Fetching plugin "cordova-plugin-splashscreen" via npm Installing "cordova-plugin-splashscreen" for android Fetching plugin "cordova-plugin-console" via npm Installing "cordova-plugin-console" for android Adding custom plugins... Copying assets Preparing... Running command: cmd "/s /c ""C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\cordova\build.bat""" ANDROID_HOME=C:\Users\Sam\AppData\Local\Android\sdk JAVA_HOME=C:\Program Files\Java\jdk1.8.0_66 Running: C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\gradlew cdvBuildDebug -b C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build.gradle -Dorg.gradle.daemon=true :preBuild :compileDebugNdk :preDebugBuild :checkDebugManifest :preReleaseBuild :CordovaLib:compileLint :CordovaLib:copyDebugLint UP-TO-DATE :CordovaLib:mergeDebugProguardFiles :CordovaLib:preBuild :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 :CordovaLib:packageDebugJar :CordovaLib:compileDebugNdk :CordovaLib:packageDebugJniLibs UP-TO-DATE :CordovaLib:packageDebugLocalJar UP-TO-DATE :CordovaLib:packageDebugRenderscript UP-TO-DATE :CordovaLib:bundleDebug :CordovaLib:copyReleaseLint UP-TO-DATE :CordovaLib:mergeReleaseProguardFiles :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 :CordovaLib:packageReleaseJar :CordovaLib:compileReleaseNdk :CordovaLib:packageReleaseJniLibs UP-TO-DATE :CordovaLib:packageReleaseLocalJar UP-TO-DATE :CordovaLib:packageReleaseRenderscript UP-TO-DATE :CordovaLib:bundleRelease :prepareAfariaProvider3103Library :prepareAndroidCordovaLibUnspecifiedDebugLibrary :prepareAuthproxyAndroid3104Library :prepareComAndroidSupportSupportV42301Library :prepareComGoogleAndroidGmsPlayServicesBase730Library :prepareComGoogleAndroidGmsPlayServicesGcm730Library :prepareVoicerecordingAndroid3104Library :prepareDebugDependencies :compileDebugAidl :compileDebugRenderscript :generateDebugBuildConfig :generateDebugAssets UP-TO-DATE :mergeDebugAssets :generateDebugResValues :generateDebugResources :mergeDebugResourcesC:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-hdpi\common_signin_btn_text_normal_dark.9.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-xxhdpi\ic_plusone_medium_off_client.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-mdpi\common_signin_btn_icon_disabled_light.9.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-xxhdpi\common_signin_btn_text_normal_light.9.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-xhdpi\common_signin_btn_icon_focus_light.9.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-hdpi\common_signin_btn_text_focus_light.9.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-hdpi\common_signin_btn_text_disabled_focus_dark.9.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-xxhdpi\common_signin_btn_icon_focus_light.9.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-xxhdpi\common_signin_btn_icon_disabled_focus_light.9.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-hdpi\common_signin_btn_icon_pressed_dark.9.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-tvdpi\ic_plusone_small_off_client.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-xxhdpi\common_signin_btn_text_disabled_dark.9.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-xxhdpi\common_signin_btn_icon_focus_dark.9.png ERROR: Unable to open PNG file Error: Failed to run command: C:\Users\Sam\AppData\Local\Android\sdk\build-tools\23.0.2\aapt.exe s -i C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-hdpi\common_signin_btn_text_normal_dark.9.png -o C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\res\debug\drawable-hdpi-v4\common_signin_btn_text_normal_dark.9.png Error Code: 42 Output: C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-hdpi\common_signin_btn_text_normal_dark.9.png ERROR: Unable to open PNG file :mergeDebugResources FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':mergeDebugResources'. > Error: Failed to run command: C:\Users\Sam\AppData\Local\Android\sdk\build-tools\23.0.2\aapt.exe s -i C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-hdpi\common_signin_btn_text_normal_dark.9.png -o C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\res\debug\drawable-hdpi-v4\common_signin_btn_text_normal_dark.9.png Error Code: 42 Output: C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-hdpi\common_signin_btn_text_normal_dark.9.png ERROR: Unable to open 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: 12.422 secs C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.3.0\res\drawable-xhdpi\common_signin_btn_icon_pressed_dark.9.png ERROR: Unable to open PNG file C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\cordova\node_modules\q\q.js:126 throw e; ^ Error code 1 for command: cmd with args: /s /c ""C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\gradlew" cdvBuildDebug -b "C:\Users\Sam\Desktop\Work Related\Mobile\SAP_HAT_local_1_9_7\SAP_HAT_local-1.9.7\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build.gradle" -Dorg.gradle.daemon=true" ERROR building one of the platforms: Error: cmd: Command failed with exit code 1 You may not have the required environment or OS to build this project Error: cmd: Command failed with exit code 1 at ChildProcess.whenDone (C:\Users\Sam\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:139:23) at ChildProcess.emit (events.js:110:17) at maybeClose (child_process.js:1008:16) at Process.ChildProcess._handle.onexit (child_process.js:1080:5) The build process for android exited unexpectedly! The system cannot find the path specified. cmd error The node process of the build script exited with code 1.

Thanks,

Sam

Attachments

app.jpg (184.7 kB)