Just added QML Map to my Android application but cannot get it working. QML file:
In project I have added
No errors while building and deploying. In running application map appears blank and in console I see:
All Android permissions are requested and allowed. Other application positioning functions work well in C++ code (via QGeoPositionInfoSource, QCompass, QGeoCoordinate). The problem appeared only with QML Map. I tried change modules versions and did many other attempts. Not found solution in Internet or QML documentation.
Development platform - Kubuntu 18.04 LTS.
PS: Same application build for desktop Kubuntu 18.04 LTS works fine. No such errors but map appears as well. The Qt5 for Android has no necessary modules. This is not covered by docs.
PPS: I do not know the reason but files ~/Qt5/5.12.5/5.12.5/android_armv7/qml/QtLocation/libdeclarative_location.so and ~/Qt5/5.12.5/5.12.5/android_armv7/qml/QtPositioning/libdeclarative_positioning.so were not copied to application building directory.
PPPS: Deleting entire app building directory did not help. While build both files were not copied. There is an error somewhere in Qt configuration files.