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. unspecified errors preventing android build
Qt 6.11 is out! See what's new in the release blog

unspecified errors preventing android build

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 425 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.
  • K Offline
    K Offline
    kgregory
    wrote on last edited by
    #1

    So I'm getting these mysterious warnings about "mapping new <...> to old <...>", I have no idea what that's about. The thing that's even weirder is that sometimes I can just ignore these and other times some portion of them will be followed by an error with no description (see second screenshot with 3 un-described errors).

    I've found that sometimes, if I re-start creator, clean all, run qmake, and then build, that I can get a successful build. These will usually come back, though, on the second or third build attempt. What is going on here?

    Qt Creator 11.0.2, Qt 6.4.3 (kit is using Qt 6.2.3)

    C:\Users\me\Documents\QtApps\bootloader.cpp:175: warning: unused parameter 'd' [-Wunused-parameter]
    ..\QtApps\bootloader.cpp:175:71: warning: unused parameter 'd' [-Wunused-parameter]
    void bootloader::confirmedDescriptorWrite(const QLowEnergyDescriptor &d, const QByteArray &value)
                                                                          ^
    :-1: warning: Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Windows
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.macOS
    Warning: QML import could not be resolved in any of the import paths: ghozt.colorbackend
    
    :-1: warning: Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
    
    :-1: warning: Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
    
    :-1: warning: Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
    
    :-1: warning: Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
    :-1: error: 
    
    :-1: warning: Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
    :-1: error: 
    
    :-1: warning: Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
    :-1: error: 
    
    :-1: warning: Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
    
    :-1: warning: Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
    
    :-1: warning: Warning: unexpected element (uri:"", local:"extension-level"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>
    Warning: unexpected element (uri:"", local:"base-extension"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>
    

    e395f9e7-0c5a-4a3b-b1fa-eee12dea4199-image.png

    1 Reply Last reply
    0

    • Login

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