Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. extra debug folder confuses deploy step (android)
Forum Updated to NodeBB v4.3 + New Features

extra debug folder confuses deploy step (android)

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 1 Posters 527 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mitmischer
    wrote on last edited by
    #1

    Hello,

    I have a problem with my app that is suddenly not building anymore. It must a change introduced by me or a program, but I don't know which (and git diff is not helpful either).

    That's what I did:

    I started with an empty Qt Quick application. I added the sample Java Activity from Android Studio to the Qt project. In order to add some needed dependencies for the Java Activity, I generated the "Android files" from QtCreator, giving me some Gradle files and an AndroidManifest. I changed the AndroidManifest to comply with the new classes and added some dependencies in the Gradle files. I had to add the Google repository, so I also specified a higher version for Gradle (4.4) in gradle-wrapper.properties.

    All of a sudden however, the project is not building anymore. I get the following error:

    ...build-*_qt-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_0_for_Android_armv7-Debug/android-build//build/outputs/apk/android-build-debug.apk : No such file or directory
    

    Qt Creator is right. In the folder, there is an extra debug folder in which the apk resides. Actually, Qt Creator should be looking for...

    ...build-*_qt-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_0_for_Android_armv7-Debug/android-build//build/outputs/apk/debug/android-build-debug.apk
    

    ... but it doesn't.

    I tried after removing all build folders and the .pro.user file. Still, the error remains. Has anyone seen such an error before? Where are those paths set?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Mitmischer
      wrote on last edited by Mitmischer
      #2

      Ok, I have to add that it does not work with a new blank Qt project without any changes. If I try to deploy to Android, I get the same error. I can successfully deploy the Android samples, though. They are located in a path without the extra debug folder. So is there anything different between the simple Qt Quick projects and the Qt Android examples?

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Mitmischer
        wrote on last edited by
        #3

        I reinstalled Qt and now it works .. sigh

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved