- 
    Bug 
- 
    Resolution: Done
- 
    P3: Somewhat important 
- 
    5.14.0 Beta3
- 
    Qt Creator 4.11.0-beta2 (4.10.83)
- 
        
- 
        ef4448f1294f0e8ff2e398f1b8917917c3ac0d0b (qt/qtbase/5.14)
Using Qt 5.14, running make apk or make aab for a project using SUBDIRS with at least one library project (C++ Library or Qt Quick 2 Extension Plugin) results in errors:
... ~/Qt/5.14.0/android/bin/androiddeployqt --input ~/QtSubdirsProject/LibraryProject/android-LibraryProject-deployment-settings.json --output ~/QtSubdirsProject/LibraryProject/android-build --apk ~/QtSubdirsProject/LibraryProject/android-build/LibraryProject.apk Cannot read from input file: ~/QtSubdirsProject/LibraryProject/android-LibraryProject-deployment-settings.json make[1]: *** [apk] Error 2 make: *** [sub-LibraryProject-apk] Error 2
It seems that Qt tries to build APKs out of the library subprojects.
Steps to reproduce
- Download attached sample project
- Run qmake
- Run make apk or make aab
- resulted from
- 
                    QTBUG-68202 Support the new Android App Bundles with androiddeployqt -         
- Closed
 
-         
| For Gerrit Dashboard: QTBUG-80351 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 282873,3 | Set proper TARGET name for libs | 5.14.0 | qt/qtbase | Status: MERGED | +2 | 0 | 
| 284302,3 | Always add the extra Android apk and aab targets | 5.14 | qt/qtbase | Status: MERGED | +2 | 0 | 
| 285553,2 | Always add the extra Android apk and aab targets | 5.15 | qt/qtbase | Status: MERGED | 0 | 0 |