I am receiving a crash with the following message while migrating an AppCompatActivity to a WearableActivity.
Caused by: java.lang.IllegalStateException:
Might want to useAmbientMode.AmbientCallbackProvider instead of WearableActivity.
AmbientMode.AmbientCallbackProvider
WearableActivity
It is the new preferred method and it still gives you all the stuff with WearableActivity but you can keep using AppCompatActivity.
AppCompatActivity
Official docs call out the details (and example code).