[Interest] Can't deploy anymore on QtCretor 4.5

Xavier Bigand flamaros.xavier at gmail.com
Sat Dec 9 01:05:34 CET 2017


Hello,

It seems to be a nice version, but I still have some trouble when targeting
Android, with the version 4.4 I had to edit the .pro.user to make the
deployment working by forcing the BuildTargetSdk at android-26. But now it
seems that something different goes wrong, here is my output:

00:39:06: Le processus
"D:\Softs\SDK\Qt\Tools\mingw530_32\bin\mingw32-make.exe" s'est terminé
normalement.
00:39:06: Starting:
"D:\Softs\SDK\Qt\5.9.3\android_armv7\bin\androiddeployqt.exe" --input
D:/Dev/Koalabs/HomeDesign3D/Projects/build-HomeDesign3D-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_3_for_Android_armv7-Debug/android-libHomeDesign3D.so-deployment-settings.json
--output
D:/Dev/Koalabs/HomeDesign3D/Projects/build-HomeDesign3D-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_3_for_Android_armv7-Debug/android-build
--deployment bundled --android-platform android-26 --jdk "C:/Program
Files/Java/jdk1.8.0_112" --gradle
Generating Android Package
  Input file:
D:/Dev/Koalabs/HomeDesign3D/Projects/build-HomeDesign3D-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_3_for_Android_armv7-Debug/android-libHomeDesign3D.so-deployment-settings.json
  Output directory:
D:/Dev/Koalabs/HomeDesign3D/Projects/build-HomeDesign3D-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_3_for_Android_armv7-Debug/android-build/
  Application binary:
D:/Dev/Koalabs/HomeDesign3D/Projects/build-HomeDesign3D-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_3_for_Android_armv7-Debug/libHomeDesign3D.so
  Android build platform: android-26
  Install to device: No
The JavaCompile.setDependencyCacheDir() method has been deprecated and is
scheduled to be removed in Gradle 4.0.
The TaskInputs.source(Object) method has been deprecated and is scheduled
to be removed in Gradle 4.0. Please use
TaskInputs.file(Object).skipWhenEmpty() instead.
:preBuild UP-TO-DATE
:preDebugBuild UP-TO-DATE
:checkDebugManifest
:prepareDebugDependencies
:compileDebugAidl
:compileDebugRenderscript
:generateDebugBuildConfig
:generateDebugResValues
:generateDebugResources
:mergeDebugResources
:processDebugManifest
D:\Dev\Koalabs\HomeDesign3D\Projects\build-HomeDesign3D-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_3_for_Android_armv7-Debug\android-build\AndroidManifest.xml:78:5-66
Warning:
Element uses-permission#android.permission.INTERNET at
AndroidManifest.xml:78:5-66 duplicated with element declared at
AndroidManifest.xml:67:9-71
D:\Dev\Koalabs\HomeDesign3D\Projects\build-HomeDesign3D-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_3_for_Android_armv7-Debug\android-build\AndroidManifest.xml:80:5-80
Warning:
Element uses-permission#android.permission.WRITE_EXTERNAL_STORAGE at
AndroidManifest.xml:80:5-80 duplicated with element declared at
AndroidManifest.xml:68:5-81
D:\Dev\Koalabs\HomeDesign3D\Projects\build-HomeDesign3D-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_3_for_Android_armv7-Debug\android-build\AndroidManifest.xml:85:5-78
Warning:
Element uses-permission#android.permission.ACCESS_NETWORK_STATE at
AndroidManifest.xml:85:5-78 duplicated with element declared at
AndroidManifest.xml:69:5-79
D:\Dev\Koalabs\HomeDesign3D\Projects\build-HomeDesign3D-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_3_for_Android_armv7-Debug\android-build\build\intermediates\manifests\full\debug\AndroidManifest.xml:173:28-65:
AAPT: No resource found that matches the given name (at 'value' with value
'@integer/google_play_services_version').

D:\Dev\Koalabs\HomeDesign3D\Projects\build-HomeDesign3D-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_3_for_Android_armv7-Debug\android-build\build\intermediates\manifests\full\debug\AndroidManifest.xml:171:
error: Error: No resource found that matches the given name (at 'value'
with value '@integer/google_play_services_version').


:processDebugResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processDebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output.






Does someone have any idea on how to fix that?



-- 
Xavier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20171209/cdf86283/attachment.html>


More information about the Interest mailing list