Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
5.14.1
-
None
-
android-ndk-r21 (o anche 21.0.6113669)
Android SDK 26.1.1
QT 5.14.1
jdk1.8.0_201
Description
I am trying android example project with QT, for all project a try to compile i receive the same error output message (below), i have understood that problem is related to gradle (i have gradle-6.3-bin in PATH with "GRADLE_HOME" environmente variable), by using commons-io-2.6.jar (also launching gradle standalone) i receive this error message: "
- What went wrong:
org.apache.commons.io.filefilter.FileFilterUtils.and([Lorg/apache/commons/io/filefilter/IOFileFilter;)Lorg/apache/commons/io/filefilter/IOFileFilter;
- Exception is:
java.lang.NoSuchMethodError: org.apache.commons.io.filefilter.FileFilterUtils.and([Lorg/apache/commons/io/filefilter/IOFileFilter;)Lorg/apache/commons/io/filefilter/IOFileFilter;
"
that is the same of Complete QT Creator stack trace:
Generating Android Package
Input file: C:/Qt/Examples/Qt-5.14.1/charts/build-chartthemes-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_1_for_Android-Debug/android-chartthemes-deployment-settings.json
Output directory: C:/Qt/Examples/Qt-5.14.1/charts/build-chartthemes-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_1_for_Android-Debug/android-build/
Application binary: chartthemes
Android build platform: android-29
Install to device: No
FAILURE: Build failed with an exception.
* What went wrong:
INSTANCE
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 27s
FAILURE: Build failed with an exception.
* What went wrong:
org.apache.commons.io.filefilter.FileFilterUtils.and([Lorg/apache/commons/io/filefilter/IOFileFilter;)Lorg/apache/commons/io/filefilter/IOFileFilter;
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 28s
FAILURE: Build failed with an exception.
* What went wrong:
org.apache.commons.io.filefilter.FileFilterUtils.and([Lorg/apache/commons/io/filefilter/IOFileFilter;)Lorg/apache/commons/io/filefilter/IOFileFilter;
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
– Skipping C:/Qt/5.14.1/android/plugins/iconengines/libplugins_iconengines_qsvgicon_armeabi-v7a.so. It has unmet dependencies: lib/libQt5Svg_armeabi-v7a.so.
– Skipping C:/Qt/5.14.1/android/plugins/imageformats/libplugins_imageformats_qsvg_armeabi-v7a.so. It has unmet dependencies: lib/libQt5Svg_armeabi-v7a.so.
Skipping createRCC
Building the android package failed!
– For more information, run this command with --verbose.
10:30:05: The process "C:\Qt\5.14.1\android\bin\androiddeployqt.exe" exited with code 14.
Error while building/deploying project chartthemes (kit: Android for armeabi-v7a,arm64-v8a,x86,x86_64 (Clang Qt 5.14.1 for Android))
When executing step "Build Android APK"
10:30:05: Elapsed time: 00:50.