Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
Qt Creator 4.13.0
-
None
Description
When trying to switch from 'General' to 'XML Source' Qt Creator shows error message: "Cannot switch to source when there are invalid services"
I have correctly declared TileService (https://developer.android.com/reference/android/service/quicksettings/TileService) in AndroidManifest.xml:
<service android:name=".QSTileService" android:label="My Tile Service" android:icon="@drawable/icon" android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"> <intent-filter> <action android:name="android.service.quicksettings.action.QS_TILE"/> </intent-filter></service>
Same issue happens with other correct Android service declarations e.g. https://code.qt.io/cgit/qt/qtandroidextras.git/tree/examples/androidextras/services/servicesameprocess?h=5.15)
That new GUI Android service editor feature with its incorrect enforcing checks currently breaks AndroidManifest editor experience.
Correct service declaration should have only 1 mandatory attribute (android:name) : <service android:name="string"> </service>