如何让Ionic构建帮助我

时间:2017-01-30 10:08:29

标签: ionic-framework

我收到错误

Error: com.android.builder.internal.aapt.AaptException: Failed to crunch file C:\Users\vipin\Documents\GitHub\Applozic-Server\Applozic-Ionic-Chat-Plugin\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\9.0.2\res\drawable-hdpi-v4\common_google_signin_btn_text_light_pressed.9.png into C:\Users\vipin\Documents\GitHub\Applozic-Server\Applozic-Ionic-Chat-Plugin\platforms\android\build\intermediates\res\merged\debug\drawable-hdpi-v4\common_google_signin_btn_text_light_pressed.9.png


:mergeDebugResources FAILED



FAILURE: Build failed with an exception.



 What went wrong:


BUILD FAILED

Total time: 1 mins 29.464 secs

Execution failed for task ':mergeDebugResources'.
Error: com.android.builder.internal.aapt.AaptException: Failed to crunch file C:\Users\vipin\Documents\GitHub\Applozic-Server\Applozic-Ionic-Chat-Plugin\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\9.0.2\res\drawable-hdpi-v4\common_google_signin_btn_text_light_pressed.9.png into C:\Users\vipin\Documents\GitHub\Applozic-Server\Applozic-Ionic-Chat-Plugin\platforms\android\build\intermediates\res\merged\debug\drawable-hdpi-v4\common_google_signin_btn_text_light_pressed.9.png

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

Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

 What went wrong:
Execution failed for task ':mergeDebugResources'.
Error: com.android.builder.internal.aapt.AaptException: Failed to crunch file C:\Users\vipin\Documents\GitHub\Applozic-Server\Applozic-Ionic-Chat-Plugin\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\9.0.2\res\drawable-hdpi-v4\common_google_signin_btn_text_light_pressed.9.png into C:\Users\vipin\Documents\GitHub\Applozic-Server\Applozic-Ionic-Chat-Plugin\platforms\android\build\intermediates\res\merged\debug\drawable-hdpi-v4\common_google_signin_btn_text_light_pressed.9.png

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

1 个答案:

答案 0 :(得分:1)

我认为这是一个插件编译问题。根据Android中的Applozic-Ionic-Chat-Plugin编译,请确保您已通过Android SDK Manager安装了以下项目:

  • Android支持库版本23或更高版本
  • 支持库(以前称为Android支持存储库)20或更高版本的本地Maven存储库
  • Google Play Services 27或更高版本
  • Google Repository版本22或更高版本

我认为这有助于解决您的问题。

Please read this for more information