Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.15.6
-
-
1586f414b1702f18b3f7dab595fcd01da46e8ac1
Description
Building Qt fails when there's an older version of Android SDK e.g. 28 or 29 in the system.
It produces errors such as
.../qtbase/src/android/jar/src/org/qtproject/qt5/android/ExtractStyle .java:418: error: cannot find symbol if (Build.VERSION.SDK_INT < Build.VERSION_CODES.Q) symbol: variable Q location: class VERSION_CODES .../qtbase/src/android/jar/src/org/qtproject/qt5/android/ExtractStyle .java:421: error: cannot find symbol numStates = stateList.getStateCount(); symbol: method getStateCount() location: variable stateList of type StateListDrawable
as the old one is used.
Removing older ones solves the problem.
Attachments
Issue Links
- relates to
-
QTBUG-91255 [Android] Add support for APK Signature Scheme v2
- Closed
-
QTBUG-98870 Android SDK detection should default to latest version available on the system
- Closed