Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29589

Updating CMakeLists.txt fails when creating Android templates

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 11.0.2
    • Android Support
    • None
    • Android

    Description

      In the build settings under build Android APK there is a button "Create Templates" which allows to customize AndroidManifest.xml and other Android-specific files. Hitting this button manages to create the folder and copy the files, however thereafter the following error message is displayed:

      "Could not update the project file /Users/lukas/Documents/Utvikling/Qt/Workspace/example."

      As a consequence of that, CMakeLists.txt is not updated. As I don't know how CMakeLists should be updated to properly integrate the Android templates, this is frustrating me

      The error can be reproduced simply by creating a new QtQuick Application in QtCreator (only tested for the project type without support for QtDesignStudio) and configuring it for Android (which of the four Android does not seem to matter, didn't work for any of the ones I tested). Then without making any further changes, open Projects -> Build & Run -> Android Build -> Build Android APK -> Create Templates. As I said, the folder and files are created but CMakeLists.txt is not updated with the error indicated above.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            portale Alessandro Portale
            randsfjorden Lukas Neuenschwander
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes