[Interest] [qt-android] failed to build project with gradle
jianliang79 at gmail.com
Sun Dec 28 03:20:57 CET 2014
I have heard about that building android project with gradle is faster
than ant, today I tried to build my project with gradle but failed with the
following output message:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred evaluating root project 'android-build'.
> Failed to apply plugin [id 'android']
> Gradle version 1.10 is required. Current version is 2.2.1. If using the
gradle wrapper, try editing the distributionUrl in
Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output.
I use Qt-5.4.0 and qtcreator 3.3.0, the latest android sdk and
android-ndk-r10d. It seems that the gradle version is wrong, but the gradle
is downloaded by qtcreator the first time I try to build with gradle. What
is wrong with me?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest