Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.15.17
-
-
1f303e165 (tqtc/lts-5.15)
-
2024wk34s2FOQtforAndroid
Description
Switching to android-34, build tools 34.0.1, gradle 8.1.1 and adding namespace in build.gradle fails with errors about ministro:
/home/user/Qt/5.15.17/android/src/android/java/src/org/qtproject/qt5/android/bindings/QtLoader.java:54: error: package org.kde.necessitas.ministro does not exist Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. See https://docs.gradle.org/8.1.1/userguide/command_line_interface.html#sec:command_line_warnings 14 actionable tasks: 6 executed, 8 up-to-date import org.kde.necessitas.ministro.IMinistro; ^ /home/user/Qt/5.15.17/android/src/android/java/src/org/qtproject/qt5/android/bindings/QtLoader.java:55: error: package org.kde.necessitas.ministro does not exist import org.kde.necessitas.ministro.IMinistroCallback; ^ /home/user/Qt/5.15.17/android/src/android/java/src/org/qtproject/qt5/android/bindings/QtLoader.java:300: error: cannot find symbol private IMinistro m_service = null; ^ symbol: class IMinistro /home/user/Qt/5.15.17/android/src/android/java/src/org/qtproject/qt5/android/bindings/QtLoader.java:326: error: cannot find symbol private IMinistroCallback m_ministroCallback = new IMinistroCallback.Stub() { ^ symbol: class IMinistroCallback /home/user/Qt/5.15.17/android/src/android/java/src/org/qtproject/qt5/android/bindings/QtLoader.java:304: error: package IMinistro does not exist m_service = IMinistro.Stub.asInterface(service); ^ /home/user/Qt/5.15.17/android/src/android/java/src/org/qtproject/qt5/android/bindings/QtLoader.java:326: error: package IMinistroCallback does not exist private IMinistroCallback m_ministroCallback = new IMinistroCallback.Stub() { ^ /home/user/Qt/5.15.17/android/src/android/java/src/org/qtproject/qt5/android/bindings/QtLoader.java:328: error: method does not override or implement a method from a supertype @Override ^ /home/user/Qt/5.15.17/android/src/android/java/src/org/qtproject/qt5/android/bindings/QtLoader.java:517: error: package org.kde.necessitas.ministro does not exist if (!m_context.bindService(new Intent(org.kde.necessitas.ministro.IMinistro.class.getCanonicalName()), ^
Attachments
Issue Links
- is duplicated by
-
QTBUG-127871 Qt5.15 does not work with Newer Android API
- Closed