_/Users/dvirtser/projects/mobile/phonegap/platforms/android/build/intermediates/assets/armv7/debug/www/bowercomponents/imgcache.js/chrisben:imgcache: error: Invalid directory name, unable to add.
generateArmv7DebugResources
:mergeArmv7DebugResources
:processArmv7DebugManifest
:processArmv7DebugResources
/Users/dvirtser/projects/mobile/phonegap/platforms/android/build/intermediates/assets/armv7/debug/www/bower_components/imgcache.js/chrisben:imgcache: error: Invalid directory name, unable to add.
:processArmv7DebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processArmv7DebugResources'.
> com.android.ide.common.internal.LoggedErrorException: Failed to run command:
/Users/dvirtser/AndroidSDK/android-sdk-macosx/build-tools/22.0.1/aapt package -f --no-crunch -I /Users/dvirtser/AndroidSDK/android-sdk-macosx/platforms/android-22/android.jar -M /Users/dvirtser/projects/mobile/phonegap/platforms/android/build/intermediates/manifests/full/armv7/debug/AndroidManifest.xml -S /Users/dvirtser/projects/mobile/phonegap/platforms/android/build/intermediates/res/armv7/debug -A /Users/dvirtser/projects/mobile/phonegap/platforms/android/build/intermediates/assets/armv7/debug -m -J /Users/dvirtser/projects/mobile/phonegap/platforms/android/build/generated/source/r/armv7/debug -F /Users/dvirtser/projects/mobile/phonegap/platforms/android/build/intermediates/res/resources-armv7-debug.ap_ --debug-mode --custom-package com.app.prod -0 apk --output-text-symbols /Users/dvirtser/projects/mobile/phonegap/platforms/android/build/intermediates/symbols/armv7/debug
Error Code:
1
Output:
/Users/dvirtser/projects/mobile/phonegap/platforms/android/build/intermediates/assets/armv7/debug/www/bower_components/imgcache.js/chrisben:imgcache: error: Invalid directory name, unable to add.
* 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: 16.454 secs
/Users/dvirtser/projects/mobile/phonegap/platforms/android/cordova/node_modules/q/q.js:126
throw e;
^
Error code 1 for command: /Users/dvirtser/projects/mobile/phonegap/platforms/android/gradlew with args: cdvBuildDebug,-b,/Users/dvirtser/projects/mobile/phonegap/platforms/android/build.gradle,-Dorg.gradle.daemon=true
ERROR building one of the platforms: Error: /Users/dvirtser/projects/mobile/phonegap/platforms/android/cordova/build: Command failed with exit code 1
You may not have the required environment or OS to build this project
Error: /Users/dvirtser/projects/mobile/phonegap/platforms/android/cordova/build: Command failed with exit code 1
at ChildProcess.whenDone (/usr/local/lib/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:1015:16)
at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
Cause by "chrisben:imgcache" folder in the repo.
_/Users/dvirtser/projects/mobile/phonegap/platforms/android/build/intermediates/assets/armv7/debug/www/bowercomponents/imgcache.js/chrisben:imgcache: error: Invalid directory name, unable to add.