のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

FAILURE: Build failed with an exception.

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\m_fujii\Documents\10_qt\
  build-FontTest-armeabi_v7a_Android_GCC_4_9_Qt_5_8_0_badf64-Debug\
  android-build\build.gradle' line: 17

* What went wrong:
A problem occurred evaluating root project 'android-build'.
> Failed to apply plugin [id 'com.android.application']
   > Gradle version 2.2 is required. 
     Current version is 2.14.1. If using the gradle wrapper,
    try editing the distributionUrl in 
   C:\Users\m_fujii\Documents\10_qt\
     build-FontTest-armeabi_v7a_Android_GCC_4_9_Qt_5_8_0_badf64-Debug\android-build\
     gradle\wrapper\gradle-wrapper.properties to gradle-2.2-all.zip

* 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: 1 mins 28.275 secs
Building the android package failed!
  -- For more information, run this command with --verbose.
16:36:49: プロセス "C:\Qt\Qt5.8.0\5.8\android_armv7\bin\androiddeployqt.exe" 
はコード 14 で終了しました。
プロジェクト FontTest のビルド・デプロイ中にエラーが発生しました 
(キット armeabi-v7a 向け Android (GCC 4.9, Qt 5.8.0))
ステップ "Android APK のビルド" 実行中
16:36:49: 経過時間: 01:31.