2016-10-13 9 views
0

ionic build androidコマンドを実行中に次のエラーが発生します。私はそれをGoogleに何時間も費やしたが、何の解決策も得られなかった。みんな助けてください。イオンビルドアンドロイドの実行中にmergeDebugResourcesエラーが発生する

FAILURE: Build failed with an exception.

What went wron Execution failed for task ':mergeDebugResources'. D:\Ionic_Workspace\MyProject_Dev\MyProject_Workspace_1.1\MyProject 1.1\platforms\and roid\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\9.6.1\res\drawable-t vdpi-v4\common_google_signin_btn_text_light_disabled.9.png: Error: File path too long on Windows, ke ep below 240 characters : D:\Ionic_Workspace\MyProject_Dev\MyProject_Workspace_1.1\MyProject 1.1\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-b ase\9.6.1\res\drawable-tvdpi-v4\common_google_signin_btn_text_light_disabled.9.png

Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more l og 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'. D:\Ionic_Workspace\MyProject_Dev\MyProject_Workspace_1.1\MyProject 1.1\platforms\and roid\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\9.6.1\res\drawable-t vdpi-v4\common_google_signin_btn_text_light_disabled.9.png: Error: File path too long on Windows, ke ep below 240 characters : D:\Ionic_Workspace\MyProject_Dev\MyProject_Workspace_1.1\MyProject 1.1\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-b ase\9.6.1\res\drawable-tvdpi-v4\common_google_signin_btn_text_light_disabled.9.png

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

答えて

1

私の友人は、エラー・スタックを確認して、彼は

Error: File path too long on Windows, keep below 240 characters :

だから基本的にはWindowsのみのために240文字の制限を可能にする、私たちは上記のエラーに記載されているラインを通って行こう問題を特定し通り。プロジェクトの進路を更新し、最終的に問題を解決しました。それが誰かを助けることを願っています!

関連する問題