Hi Guys,
Sorry for the delay – I’m away on a course during the week at the moment.
Thanks for the help – sorry for being an idiot – I forgot you don’t get the IOS without being on the Mac. I haven’t actually updated QtCreator on my Mac yet and am working on my Pc. I’ll cross that hurdle another time!
I have managed to get the latest version of Qt Creator installed and working on my machine now. It is Qt Creator 4.4.
It appears to work perfectly on the desktop and I can run my game without any issues.
When I try to use Android though, I get the following errors, which appear to be related to Gradle (I have updated my Gradle to the latest version now, which is 4.2 but still have the same problem):
FAILURE: Build failed with an exception.
* Where:
Build file ‘E:\Git\tankz\build-Tankz-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_0_for_Android_armv7-Debug\android-build\build.gradle’ line: 18
* 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 3.4. If using the gradle wrapper, try editing the distributionUrl in E:\Git\tankz\build-Tankz-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_0_for_Android_armv7-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.572 secs
Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils
Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils
Building the android package failed!
— For more information, run this command with –verbose.
21:44:19: The process “E:\FelgoSDK\5.9\android_armv7\bin\androiddeployqt.exe” exited with code 14.
Error while building/deploying project Tankz (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.9.0 for Android armv7))
When executing step “Build Android APK”