Execution failed for task ':mergeDebugAssets'


#1

C:\Users\santosh\iloveandaman>ionic build android
:mergeDebugAssets
Error: java.io.FileNotFoundException: C:\Users\santosh\iloveandaman\platforms\android\build\intermediates\assets\debug\www\lib\ngCordova\test\plugins\appAvailability.js (The system cannot find the path specified)
:mergeDebugAssets FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:mergeDebugAssets’.

Error: java.io.FileNotFoundException: C:\Users\santosh\iloveandaman\platforms\android\build\intermediates\assets\debug\www\lib\ngCordova\test\plugins\appAvailability.js (The system cannot find the path specified)

BUILD FAILED

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

Total time: 1 mins 20.889 secs
ERROR building one of the platforms: Error code 1 for command: cmd with args: /s,/c,"C:\Users\santosh\iloveandaman\platforms\android\gradlew cdvBuildDebug -b C:\Users\santosh\iloveandaman\platforms\android\build.gradle -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"
You may not have the required environment or OS to build this project
Error: Error code 1 for command: cmd with args: /s,/c,“C:\Users\santosh\iloveandaman\platforms\android\gradlew cdvBuildDebug -b C:\Users\santosh\iloveandaman\platforms\android\build.gradle -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true”