Hi Gunther,
Tried you suggestions still get same error. Noticed that Android sdk was set to 27, which
failed with error should below, tried 26 as this is what previous instructions had stated, again failed with
same error. Did notice following is this significant:
To run dex in process, the Gradle daemon needs a larger heap.
It currently has 1024 MB.
For faster builds, increase the maximum heap size for the Gradle daemon to at least 1536 MB.
To do this set org.gradle.jvmargs=-Xmx1536M in the project gradle.properties.
For more information see https://docs.gradle.org/current/userguide/build_environment.html
Tried adding:
org.gradle.jvmargs=-Xmx1536M to environment GRADLE_OPTS but got error, then tried: -Xmx1536M
no error but still get message
Error for build is shown below:
Total time: 18.442 secs
PREDEX CACHE HITS: 0
PREDEX CACHE MISSES: 6
Stopped 0 worker daemon(s).
Dex: Error converting bytecode to dex:
Cause: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/internal/zzdmw;
UNEXPECTED TOP-LEVEL EXCEPTION:
com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/internal/zzdmw;
at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:661)
at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:616)
at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:598)
at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)
at com.android.dx.merge.DexMerger.merge(DexMerger.java:198)
at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:506)
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:336)
at com.android.dx.command.dexer.Main.runDx(Main.java:291)
at com.android.dx.command.dexer.Main.main(Main.java:247)
at com.android.dx.command.Main.main(Main.java:94)
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ‘:transformClassesWithDexForDebug’.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: Error while executing java process with main class com.android.dx.command.Main with arguments {–dex –verbose –num-threads=4 –output /media/pgrant/extdev01/venture/vpappdev/build-untitled-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/transforms/dex/debug/folders/1000/1f/main /media/pgrant/extdev01/venture/vpappdev/build-untitled-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_65a4e770a5f0dcaa0b6f4d08712a24a6c20de473.jar /media/pgrant/extdev01/venture/vpappdev/build-untitled-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_78febd5629acd31fe7a4849b6e6fd97afa08d12f.jar /media/pgrant/extdev01/venture/vpappdev/build-untitled-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/debug_94be2b078bbd5ee0eeda45c9f841919e047dc899.jar /media/pgrant/extdev01/venture/vpappdev/build-untitled-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/QtPositioning-bundled_2b14f5032265f6577b3eb5c826af88ad8202e4bb.jar /media/pgrant/extdev01/venture/vpappdev/build-untitled-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_fa7f55858399e9eed0a0c4626dfa4d3d16e1ad7c.jar /media/pgrant/extdev01/venture/vpappdev/build-untitled-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_16a607491e2bbc9705de7599a3883045dfc30537.jar /media/pgrant/extdev01/venture/vpappdev/build-untitled-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_749b9edef4859a326fb47bc1e92eaccf16741780.jar /media/pgrant/extdev01/venture/vpappdev/build-untitled-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/QtAndroid-bundled_b468de3a2c1894083ee7c6e0eccb2bf019a04069.jar /media/pgrant/extdev01/venture/vpappdev/build-untitled-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_d12cdc3e474a76ac7aad58724c3eb063f3976421.jar /media/pgrant/extdev01/venture/vpappdev/build-untitled-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_f8dc88f6c8590450c67b4787b29afac9c6d6c707.jar /media/pgrant/extdev01/venture/vpappdev/build-untitled-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/QtAndroidBluetooth-bundled_c90d0960a0d30cfc0b7edc4645e595cb3744c511.jar /media/pgrant/extdev01/venture/vpappdev/build-untitled-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_78b9e8c3ea2a475d5cd02b7ac1235c5fbc6f4ed2.jar /media/pgrant/extdev01/venture/vpappdev/build-untitled-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_3e90ce4abd0fabaacee22243c8252f365ea15fe4.jar /media/pgrant/extdev01/venture/vpappdev/build-untitled-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/QtAndroidBearer-bundled_5ac0fd41eb69daf28e02515450db1d6cb0aa6ac8.jar /media/pgrant/extdev01/venture/vpappdev/build-untitled-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_ecceccf1391ade776e42b17725d2ec8459af9334.jar /media/pgrant/extdev01/venture/vpappdev/build-untitled-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/QtMultimedia-bundled_f9da92453e2e065a492a0dfb811f316d949a66e1.jar /media/pgrant/extdev01/venture/vpappdev/build-untitled-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_ff97acdc08b8e66de7dd5660914262762d8375c1.jar /media/pgrant/extdev01/venture/vpappdev/build-untitled-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_6f219c96ac75afab0b43cc62cee0cad7f61afdad.jar /media/pgrant/extdev01/venture/vpappdev/build-untitled-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_b314c13c2919603f89dbbf0f282119d16854e8bf.jar /media/pgrant/extdev01/venture/vpappdev/build-untitled-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/support-annotations-25.2.0_ce4d63d2eda2d3947d93af43518aaf8a60b60665.jar /media/pgrant/extdev01/venture/vpappdev/build-untitled-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_a96be4bc777304daf45b4aa744577b74edb603f7.jar /media/pgrant/extdev01/venture/vpappdev/build-untitled-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/VPlay_9a86864be746b8544818ccdc2efca4b709680f2d.jar}
* Try:
Run with –stacktrace option to get the stack trace. Run with –debug option to get more log output.
Building the android package failed!
10:07:02: The process “/home/pgrant/FelgoSDK/5.9.2/android_armv7/bin/androiddeployqt” exited with code 14.
Error while building/deploying project untitled (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.9.2 for Android armv7))
When executing step “Build Android APK”
10:07:02: Elapsed time: 00:28.
To validate my installation built your example project tabbed, this worked fine on Android!
Then tried to build your plugin example project from a newly created clean project, this failed with
error shown below:
09:46:33: Running steps for project plutest1…
09:46:33: Starting: “/home/pgrant/FelgoSDK/5.9.2/android_armv7/bin/qmake” /home/pgrant/venture/vpappdev/plutest1/plutest1.pro -spec android-g++ CONFIG+=debug CONFIG+=qml_debug
Info: creating stash file /media/pgrant/extdev01/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/.qmake.stash
09:46:33: The process “/home/pgrant/FelgoSDK/5.9.2/android_armv7/bin/qmake” exited normally.
09:46:33: Starting: “/usr/bin/make” qmake_all
make: Nothing to be done for ‘qmake_all’.
09:46:33: The process “/usr/bin/make” exited normally.
09:46:33: Starting: “/usr/bin/make”
/media/pgrant/extdev01/venture/vplay/android-ndk-r14/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -D__ANDROID_API__=16 –sysroot=/media/pgrant/extdev01/venture/vplay/android-ndk-r14/sysroot -isystem /media/pgrant/extdev01/venture/vplay/android-ndk-r14/sysroot/usr/include/arm-linux-androideabi -isystem /media/pgrant/extdev01/venture/vplay/android-ndk-r14/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /media/pgrant/extdev01/venture/vplay/android-ndk-r14/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove -g -g -marm -O0 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_WEBSOCKETS_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I../plutest1 -I. -I/home/pgrant/FelgoSDK/5.9.2/android_armv7/include/VPlay -I/home/pgrant/FelgoSDK/5.9.2/android_armv7/include -I/home/pgrant/FelgoSDK/5.9.2/android_armv7/include/QtQuick -I/home/pgrant/FelgoSDK/5.9.2/android_armv7/include/QtWidgets -I/home/pgrant/FelgoSDK/5.9.2/android_armv7/include/QtMultimedia -I/home/pgrant/FelgoSDK/5.9.2/android_armv7/include/QtGui -I/home/pgrant/FelgoSDK/5.9.2/android_armv7/include/QtQml -I/home/pgrant/FelgoSDK/5.9.2/android_armv7/include/QtWebSockets -I/home/pgrant/FelgoSDK/5.9.2/android_armv7/include/QtNetwork -I/home/pgrant/FelgoSDK/5.9.2/android_armv7/include/QtSql -I/home/pgrant/FelgoSDK/5.9.2/android_armv7/include/QtCore -I. -I/home/pgrant/FelgoSDK/5.9.2/android_armv7/mkspecs/android-g++ -o main.o ../plutest1/main.cpp
/home/pgrant/FelgoSDK/5.9.2/android_armv7/bin/rcc -name resources_user /home/pgrant/FelgoSDK/5.9.2/android_armv7/mkspecs/common/vplay/resources_user.qrc -o qrc_resources_user.cpp
/media/pgrant/extdev01/venture/vplay/android-ndk-r14/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -D__ANDROID_API__=16 –sysroot=/media/pgrant/extdev01/venture/vplay/android-ndk-r14/sysroot -isystem /media/pgrant/extdev01/venture/vplay/android-ndk-r14/sysroot/usr/include/arm-linux-androideabi -isystem /media/pgrant/extdev01/venture/vplay/android-ndk-r14/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /media/pgrant/extdev01/venture/vplay/android-ndk-r14/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove -g -g -marm -O0 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_WEBSOCKETS_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I../plutest1 -I. -I/home/pgrant/FelgoSDK/5.9.2/android_armv7/include/VPlay -I/home/pgrant/FelgoSDK/5.9.2/android_armv7/include -I/home/pgrant/FelgoSDK/5.9.2/android_armv7/include/QtQuick -I/home/pgrant/FelgoSDK/5.9.2/android_armv7/include/QtWidgets -I/home/pgrant/FelgoSDK/5.9.2/android_armv7/include/QtMultimedia -I/home/pgrant/FelgoSDK/5.9.2/android_armv7/include/QtGui -I/home/pgrant/FelgoSDK/5.9.2/android_armv7/include/QtQml -I/home/pgrant/FelgoSDK/5.9.2/android_armv7/include/QtWebSockets -I/home/pgrant/FelgoSDK/5.9.2/android_armv7/include/QtNetwork -I/home/pgrant/FelgoSDK/5.9.2/android_armv7/include/QtSql -I/home/pgrant/FelgoSDK/5.9.2/android_armv7/include/QtCore -I. -I/home/pgrant/FelgoSDK/5.9.2/android_armv7/mkspecs/android-g++ -o qrc_resources_user.o qrc_resources_user.cpp
/media/pgrant/extdev01/venture/vplay/android-ndk-r14/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ –sysroot=/media/pgrant/extdev01/venture/vplay/android-ndk-r14/platforms/android-16/arch-arm/ -Wl,-soname,libplutest1.so -Wl,-rpath=/home/pgrant/FelgoSDK/5.9.2/android_armv7/lib -Wl,–no-undefined -Wl,-z,noexecstack -shared -o libplutest1.so main.o qrc_resources_user.o -L/media/pgrant/extdev01/venture/vplay/android-ndk-r14/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -L/media/pgrant/extdev01/venture/vplay/android-ndk-r14/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x -L/home/pgrant/FelgoSDK/5.9.2/android_armv7/lib -lVPlay -lcrypto -lssl -lQt5Quick -L/opt/android/ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -L/opt/android/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9 -lQt5Widgets -lQt5Multimedia -lQt5Gui -lQt5Qml -lQt5WebSockets -lQt5Network -lQt5Sql -lQt5Core -lGLESv2 -lgnustl_shared -lgcc -llog -lz -lm -ldl -lc
09:46:35: The process “/usr/bin/make” exited normally.
09:46:35: Starting: “/usr/bin/make” INSTALL_ROOT=/home/pgrant/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build install
/home/pgrant/FelgoSDK/5.9.2/android_armv7/bin/qmake -install qinstall /media/pgrant/extdev01/venture/vpappdev/plutest1/qml /home/pgrant/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/assets/qml
/home/pgrant/FelgoSDK/5.9.2/android_armv7/bin/qmake -install qinstall /media/pgrant/extdev01/venture/vpappdev/plutest1/assets /home/pgrant/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/assets/assets
/home/pgrant/FelgoSDK/5.9.2/android_armv7/bin/qmake -install qinstall -exe libplutest1.so /home/pgrant/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/libs/armeabi-v7a/libplutest1.so
09:46:35: The process “/usr/bin/make” exited normally.
09:46:35: Starting: “/home/pgrant/FelgoSDK/5.9.2/android_armv7/bin/androiddeployqt” –input /home/pgrant/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-libplutest1.so-deployment-settings.json –output /home/pgrant/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build –deployment bundled –android-platform android-27 –jdk /home/pgrant/bin/jdk1.8.0_91 –gradle
Generating Android Package
Input file: /home/pgrant/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-libplutest1.so-deployment-settings.json
Output directory: /media/pgrant/extdev01/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/
Application binary: /media/pgrant/extdev01/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/libplutest1.so
Android build platform: android-27
Install to device: No
Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Universal.impl
Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.impl
Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Material.impl
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
NDK is missing a “platforms” directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /media/pgrant/extdev01/venture/vplay/android-sdk/ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
:preBuild UP-TO-DATE
:preDebugBuild UP-TO-DATE
:checkDebugManifest
:preReleaseBuild UP-TO-DATE
:prepareComAndroidSupportSupportCompat2520Library
:prepareComAndroidSupportSupportCoreUi2520Library
:prepareComAndroidSupportSupportCoreUtils2520Library
:prepareComAndroidSupportSupportFragment2520Library
:prepareComAndroidSupportSupportMediaCompat2520Library
:prepareComAndroidSupportSupportV42520Library
:prepareComGoogleAndroidGmsPlayServicesBase1142Library
:prepareComGoogleAndroidGmsPlayServicesBaseLicense1142Library
:prepareComGoogleAndroidGmsPlayServicesBasement1142Library
:prepareComGoogleAndroidGmsPlayServicesBasementLicense1142Library
:prepareComGoogleAndroidGmsPlayServicesTasks1142Library
:prepareComGoogleAndroidGmsPlayServicesTasksLicense1142Library
:prepareComGoogleFirebaseFirebaseAuth1142Library
:prepareComGoogleFirebaseFirebaseAuthLicense1142Library
:prepareComGoogleFirebaseFirebaseCommon1142Library
:prepareComGoogleFirebaseFirebaseCommonLicense1142Library
:prepareComGoogleFirebaseFirebaseDatabase1122Library
:prepareComGoogleFirebaseFirebaseDatabaseConnection1122Library
:prepareNetVplayPluginsPluginFirebase21321Library
:prepareDebugDependencies
:compileDebugAidl
:compileDebugRenderscript
:generateDebugBuildConfig
:generateDebugResValues
:generateDebugResources
:mergeDebugResources
:processDebugManifest
:processDebugResources
:generateDebugSources
:incrementalDebugJavaCompilationSafeguard
:javaPreCompileDebug
:compileDebugJavaWithJavac
:compileDebugJavaWithJavac – is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:compileDebugNdk NO-SOURCE
:compileDebugSources
:mergeDebugShaders
:compileDebugShaders
:generateDebugAssets
:mergeDebugAssets
:transformClassesWithDexForDebug
Running dex as a separate process.
To run dex in process, the Gradle daemon needs a larger heap.
It currently has 1024 MB.
For faster builds, increase the maximum heap size for the Gradle daemon to at least 1536 MB.
To do this set org.gradle.jvmargs=-Xmx1536M in the project gradle.properties.
For more information see https://docs.gradle.org/current/userguide/build_environment.html
Dex: Error converting bytecode to dex:
:transformClassesWithDexForDebug FAILED
Cause: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/internal/zzdmw;
UNEXPECTED TOP-LEVEL EXCEPTION:
com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/internal/zzdmw;
at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:661)
at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:616)
at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:598)
at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)
at com.android.dx.merge.DexMerger.merge(DexMerger.java:198)
at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:506)
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:336)
at com.android.dx.command.dexer.Main.runDx(Main.java:291)
at com.android.dx.command.dexer.Main.main(Main.java:247)
at com.android.dx.command.Main.main(Main.java:94)
BUILD FAILED
Total time: 25.375 secs
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ‘:transformClassesWithDexForDebug’.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: Error while executing java process with main class com.android.dx.command.Main with arguments {–dex –num-threads=4 –output /media/pgrant/extdev01/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/transforms/dex/debug/folders/1000/1f/main /media/pgrant/extdev01/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_d12cdc3e474a76ac7aad58724c3eb063f3976421.jar /media/pgrant/extdev01/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/debug_69253fe79022e18bc1fb3e9935c08672f581c93f.jar /media/pgrant/extdev01/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_78b9e8c3ea2a475d5cd02b7ac1235c5fbc6f4ed2.jar /media/pgrant/extdev01/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_3e90ce4abd0fabaacee22243c8252f365ea15fe4.jar /media/pgrant/extdev01/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/QtAndroid-bundled_289314fa8cabbffd9735a6046d76a8c26b99a6c1.jar /media/pgrant/extdev01/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_6f219c96ac75afab0b43cc62cee0cad7f61afdad.jar /media/pgrant/extdev01/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/QtAndroidBearer-bundled_83181a395a9140c29090c27e209f737e0dae859d.jar /media/pgrant/extdev01/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/QtPositioning-bundled_0a4510e639ef487eb325b49de1287996c7e62c03.jar /media/pgrant/extdev01/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_b314c13c2919603f89dbbf0f282119d16854e8bf.jar /media/pgrant/extdev01/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_f8dc88f6c8590450c67b4787b29afac9c6d6c707.jar /media/pgrant/extdev01/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_a96be4bc777304daf45b4aa744577b74edb603f7.jar /media/pgrant/extdev01/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_78febd5629acd31fe7a4849b6e6fd97afa08d12f.jar /media/pgrant/extdev01/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_ff97acdc08b8e66de7dd5660914262762d8375c1.jar /media/pgrant/extdev01/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/QtMultimedia-bundled_dfb5d5751bf9b9fd5a03c4f6eb3e2367a22fa8ab.jar /media/pgrant/extdev01/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_ecceccf1391ade776e42b17725d2ec8459af9334.jar /media/pgrant/extdev01/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/support-annotations-25.2.0_ce4d63d2eda2d3947d93af43518aaf8a60b60665.jar /media/pgrant/extdev01/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_16a607491e2bbc9705de7599a3883045dfc30537.jar /media/pgrant/extdev01/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_fa7f55858399e9eed0a0c4626dfa4d3d16e1ad7c.jar /media/pgrant/extdev01/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/VPlay_2ff90b27070c1d031d44e949a708b259e0289219.jar /media/pgrant/extdev01/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_65a4e770a5f0dcaa0b6f4d08712a24a6c20de473.jar /media/pgrant/extdev01/venture/vpappdev/build-plutest1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_2_for_Android_armv7-Debug/android-build/build/intermediates/pre-dexed/debug/classes_749b9edef4859a326fb47bc1e92eaccf16741780.jar}
* Try:
Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output.
Building the android package failed!
— For more information, run this command with –verbose.
09:47:05: The process “/home/pgrant/FelgoSDK/5.9.2/android_armv7/bin/androiddeployqt” exited with code 14.
Error while building/deploying project plutest1 (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.9.2 for Android armv7))
When executing step “Build Android APK”
09:47:05: Elapsed time: 00:32.
Any further suggestions?
Do you see same problem when you build your plugin project?
What Android SDK/NDK version to you have?
What SDK packages are important to have?
BR
Paul