Cordva,Visual Studio 2015中的离子项目构建错误

时间:2016-06-13 12:24:02

标签: cordova visual-studio-2015 visual-studio-cordova

我已将此项目从visual studio 2013复制到visual studio 2015

我正在使用Visual Studio中的apache cordova开发移动应用程序。当我选择除了android - device之外,它可以成功构建。

当我选择android - device时,它会给我以下错误,而我正在使用apache codova update 10

请帮助我如何成功构建程序

Error FAILURE: Build failed with an exception.
Error Execution failed for task ':mergeDebugResources'.

Error > D:\MOBILE PROJECTS\FINAL_PROJECTS\WhollyCow.Customer.App\WhollyCow.Customer.App\platforms\
       android\build\intermediates\exploded-aar\com.android.support\appcompat-v7\23.4.0\res\drawable-xxhdpi-v4\abc_textfield_search_activated_mtrl_alpha.9.png:
       Error: File path too long on Windows, keep below 240 characters : D:\MOBILE PROJECTS\FINAL_PROJECTS\WhollyCow.Customer.App\WhollyCow.Customer.App\platforms\android\build\intermediates\exploded-aar\com.android.support\
      appcompat-v7\23.4.0\res\drawable-xxhdpi-v4\abc_textfield_search_activated_mtrl_alpha.9.png    

Error       * Try:
Error   Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log 
Error Error code 1 for command: cmd with args: /s,/c,""D:\MOBILE 
      PROJECTS\FINAL_PROJECTS\WhollyCow.Customer.App\WhollyCow.Customer.App\platforms\android\gradlew" cdvBuildDebug -b 
     "D:\MOBILE PROJECTS\FINAL_PROJECTS\WhollyCow.Customer.App\WhollyCow.Customer.App\platforms\android\build.gradle" -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true" 

enter image description here

0 个答案:

没有答案