I have just created a TileServiceProvider based on the sample given by google. In the google sample, registration is done using code in the androidManifest.xml file.
But if trying to add a Tile on the watch, it does not work. The sample app is not able to register the tile successfully either. Are we missing some information about registering tiles?
<service
android:name="com.example.wear.tiles.messaging.MessagingTileService"
android:label="@string/messaging_tile_label"
android:description="@string/tile_description"
android:icon="@drawable/ic_person"
android:permission="com.google.android.wearable.permission.BIND_TILE_PROVIDER">
<intent-filter>
<action android:name="androidx.wear.tiles.action.BIND_TILE_PROVIDER" />
</intent-filter>
<meta-data
android:name="androidx.wear.tiles.PREVIEW"
android:resource="@drawable/tile_messaging" />
</service>