Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2161

Getting Error in Building the companion app.How to resolve??

$
0
0

Hello Experts

 

I am getting the below error , don't know how to resolve this.

Please Help me !!

 

The build script exited unexpectedly!

 

No config file specified. Searching for config.json in the current directory. Config file found at C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp/config.json. platforms: android 5.3.1 cordova version: 5.3.1 Creating WebIdeCompanion project. Creating a new cordova project. C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp\CompanionApp C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\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" via npm Installing "cordova-plugin-whitelist" for 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. 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 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, you must install the Google Play services SDK found in the Android SDK Manager under Extras. 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-media-capture" via npm Installing "cordova-plugin-media-capture" 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-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 Plugin "cordova-plugin-media-capture" already installed on 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 1 file(s) copied. 1 file(s) copied. 1 file(s) copied. 1 file(s) copied. 1 file(s) copied. Preparing... Running command: cmd "/s /c ""C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp\CompanionApp\platforms\android\cordova\build.bat""" ANDROID_HOME=C:\Users\831379\AppData\Local\Android\android-sdk JAVA_HOME=C:\Program Files\Java\jdk1.8.0_60 Running: C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp\CompanionApp\platforms\android\gradlew cdvBuildDebug -b C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build.gradle -Dorg.gradle.daemon=true NEGOTIATE authentication error: No valid credentials provided (Mechanism level: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)) :preBuild :compileDebugNdk :preDebugBuild :checkDebugManifest :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 UP-TO-DATE :CordovaLib:packageDebugJar :CordovaLib:compileDebugNdk :CordovaLib:packageDebugJniLibs UP-TO-DATE :CordovaLib:packageDebugLocalJar UP-TO-DATE :CordovaLib:packageDebugRenderscript UP-TO-DATE :CordovaLib:bundleDebug :prepareAndroidCordovaLibUnspecifiedDebugLibrary :preReleaseBuild :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 UP-TO-DATE :CordovaLib:packageReleaseJar :CordovaLib:compileReleaseNdk :CordovaLib:packageReleaseJniLibs UP-TO-DATE :CordovaLib:packageReleaseLocalJar UP-TO-DATE :CordovaLib:packageReleaseRenderscript UP-TO-DATE :CordovaLib:bundleRelease :prepareComAndroidSupportSupportV42200Library :prepareComGoogleAndroidGmsPlayServicesBase730Library :prepareComGoogleAndroidGmsPlayServicesGcm730Library :compileDebugAidl :compileDebugRenderscript :generateDebugBuildConfig :generateDebugAssets UP-TO-DATE :mergeDebugAssets :generateDebugResValues :generateDebugResources :mergeDebugResources C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\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 Error: Failed to run command: C:\Users\831379\AppData\Local\Android\android-sdk\build-tools\23.0.1\aapt.exe s -i C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\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 -o C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\res\debug\drawable-xxhdpi-v4\common_signin_btn_icon_disabled_focus_light.9.png Error Code: 42 Output: C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\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 :mergeDebugResources FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':mergeDebugResources'. > Error: Failed to run command: C:\Users\831379\AppData\Local\Android\android-sdk\build-tools\23.0.1\aapt.exe s -i C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\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 -o C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\res\debug\drawable-xxhdpi-v4\common_signin_btn_icon_disabled_focus_light.9.png Error Code: 42 Output: C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\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 * 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: 56.785 secs C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\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:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp\CompanionApp\platforms\android\gradlew" cdvBuildDebug -b "C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build.gradle" -Dorg.gradle.daemon=true" ERROR building one of the platforms: Error: cmd: Command failed with exit code 8 You may not have the required environment or OS to build this project Error: cmd: Command failed with exit code 8 at ChildProcess.whenDone (C:\Users\831379\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:139:23) at ChildProcess.emit (events.js:98:17) at maybeClose (child_process.js:766:16) at Process.ChildProcess._handle.onexit (child_process.js:833: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:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp/config.json. platforms: android 5.3.1 cordova version: 5.3.1 Creating kapil project. Creating a new cordova project. C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp\CompanionApp C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp Adding platforms... android Adding android project... Creating Cordova project for the Android platform: Path: platforms\android Package: com.sap.ide.companion Name: kapil 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" via npm Installing "cordova-plugin-whitelist" for 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. 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 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, you must install the Google Play services SDK found in the Android SDK Manager under Extras. 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-media-capture" via npm Installing "cordova-plugin-media-capture" 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-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 Plugin "cordova-plugin-media-capture" already installed on 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 1 file(s) copied. 1 file(s) copied. 1 file(s) copied. 1 file(s) copied. 1 file(s) copied. 1 file(s) copied. Preparing... Running command: cmd "/s /c ""C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp\CompanionApp\platforms\android\cordova\build.bat""" ANDROID_HOME=C:\Users\831379\AppData\Local\Android\android-sdk JAVA_HOME=C:\Program Files\Java\jdk1.8.0_60 Running: C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp\CompanionApp\platforms\android\gradlew cdvBuildDebug -b C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build.gradle -Dorg.gradle.daemon=true :preBuild :compileDebugNdk :preDebugBuild :checkDebugManifest :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 UP-TO-DATE :CordovaLib:packageDebugJar :CordovaLib:compileDebugNdk :CordovaLib:packageDebugJniLibs UP-TO-DATE :CordovaLib:packageDebugLocalJar UP-TO-DATE :CordovaLib:packageDebugRenderscript UP-TO-DATE :CordovaLib:bundleDebug :prepareAndroidCordovaLibUnspecifiedDebugLibrary :preReleaseBuild :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 UP-TO-DATE :CordovaLib:packageReleaseJar :CordovaLib:compileReleaseNdk :CordovaLib:packageReleaseJniLibs UP-TO-DATE :CordovaLib:packageReleaseLocalJar UP-TO-DATE :CordovaLib:packageReleaseRenderscript UP-TO-DATE :CordovaLib:bundleRelease :prepareComAndroidSupportSupportV42200Library :prepareComGoogleAndroidGmsPlayServicesBase730Library :prepareComGoogleAndroidGmsPlayServicesGcm730Library :prepareDebugDependencies :compileDebugAidl :compileDebugRenderscript :generateDebugBuildConfig :generateDebugAssets UP-TO-DATE :mergeDebugAssets :generateDebugResValues :generateDebugResources :mergeDebugResources C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\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 Error: Failed to run command: C:\Users\831379\AppData\Local\Android\android-sdk\build-tools\23.0.1\aapt.exe s -i C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\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 -o C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\res\debug\drawable-xxhdpi-v4\common_signin_btn_icon_disabled_focus_light.9.png Error Code: 42 Output: C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\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 :mergeDebugResources FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':mergeDebugResources'. > Error: Failed to run command: C:\Users\831379\AppData\Local\Android\android-sdk\build-tools\23.0.1\aapt.exe s -i C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\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 -o C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\res\debug\drawable-xxhdpi-v4\common_signin_btn_icon_disabled_focus_light.9.png Error Code: 42 Output: C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\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 * 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: 24.494 secs C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\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:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp\CompanionApp\platforms\android\gradlew" cdvBuildDebug -b "C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build.gradle" -Dorg.gradle.daemon=true" ERROR building one of the platforms: Error: cmd: Command failed with exit code 8 You may not have the required environment or OS to build this project Error: cmd: Command failed with exit code 8 at ChildProcess.whenDone (C:\Users\831379\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:139:23) at ChildProcess.emit (events.js:98:17) at maybeClose (child_process.js:766:16) at Process.ChildProcess._handle.onexit (child_process.js:833: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:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp/config.json. platforms: android 5.3.1 cordova version: 5.3.1 Creating kapil project. Creating a new cordova project. C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp\CompanionApp C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp Adding platforms... android Adding android project... Creating Cordova project for the Android platform: Path: platforms\android Package: com.sap.ide.kj Name: kapil 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" via npm Installing "cordova-plugin-whitelist" for 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. 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 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, you must install the Google Play services SDK found in the Android SDK Manager under Extras. 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-media-capture" via npm Installing "cordova-plugin-media-capture" 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-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 Plugin "cordova-plugin-media-capture" already installed on 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 1 file(s) copied. 1 file(s) copied. 1 file(s) copied. 1 file(s) copied. 1 file(s) copied. Preparing... Running command: cmd "/s /c ""C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp\CompanionApp\platforms\android\cordova\build.bat""" ANDROID_HOME=C:\Users\831379\AppData\Local\Android\android-sdk JAVA_HOME=C:\Program Files\Java\jdk1.8.0_60 Running: C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp\CompanionApp\platforms\android\gradlew cdvBuildDebug -b C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build.gradle -Dorg.gradle.daemon=true :preBuild :compileDebugNdk :preDebugBuild :checkDebugManifest :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 UP-TO-DATE :CordovaLib:packageDebugJar :CordovaLib:compileDebugNdk :CordovaLib:packageDebugJniLibs UP-TO-DATE :CordovaLib:packageDebugLocalJar UP-TO-DATE :CordovaLib:packageDebugRenderscript UP-TO-DATE :CordovaLib:bundleDebug :prepareAndroidCordovaLibUnspecifiedDebugLibrary :preReleaseBuild :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 UP-TO-DATE :CordovaLib:packageReleaseJar :CordovaLib:compileReleaseNdk :CordovaLib:packageReleaseJniLibs UP-TO-DATE :CordovaLib:packageReleaseLocalJar UP-TO-DATE :CordovaLib:packageReleaseRenderscript UP-TO-DATE :CordovaLib:bundleRelease :prepareComAndroidSupportSupportV42200Library :prepareComGoogleAndroidGmsPlayServicesBase730Library :prepareComGoogleAndroidGmsPlayServicesGcm730Library :prepareDebugDependencies :compileDebugAidl :compileDebugRenderscript :generateDebugBuildConfig :generateDebugAssets UP-TO-DATE :mergeDebugAssets :generateDebugResValues :generateDebugResources :mergeDebugResources C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\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 Error: Failed to run command: C:\Users\831379\AppData\Local\Android\android-sdk\build-tools\23.0.1\aapt.exe s -i C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\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 -o C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\res\debug\drawable-xxhdpi-v4\common_signin_btn_icon_disabled_focus_light.9.png Error Code: 42 Output: C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\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 :mergeDebugResources FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':mergeDebugResources'. > Error: Failed to run command: C:\Users\831379\AppData\Local\Android\android-sdk\build-tools\23.0.1\aapt.exe s -i C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\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 -o C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build\intermediates\res\debug\drawable-xxhdpi-v4\common_signin_btn_icon_disabled_focus_light.9.png Error Code: 42 Output: C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\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 * 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: 1 mins 50.565 secs C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\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:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp\CompanionApp\platforms\android\gradlew" cdvBuildDebug -b "C:\Program Files\SAP_HAT_local\SAP_HAT_local-1.8.2\WebIdeCompanion\companionapp\CompanionApp\platforms\android\build.gradle" -Dorg.gradle.daemon=true" ERROR building one of the platforms: Error: cmd: Command failed with exit code 8 You may not have the required environment or OS to build this project Error: cmd: Command failed with exit code 8 at ChildProcess.whenDone (C:\Users\831379\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:139:23) at ChildProcess.emit (events.js:98:17) at maybeClose (child_process.js:766:16) at Process.ChildProcess._handle.onexit (child_process.js:833: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

Kapil


Viewing all articles
Browse latest Browse all 2161

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>