0

I'm developing a small WearOS App including tile, complication and MainActivity. The app shall request data from an app on a smartphone. A complication shall display this data as well as the tile or MainActivity maybe with some additional information.

I can launch and run the MainActivity on an emulator but I'm having issues with launching the complication. It looks like I have to launch the complication and tile seperately by the run menu. When launching the complication I always receive an error message:

Error while launching complication, message: Broadcasting: Intent { act=com.google.android.wearable.app.DEBUG_SURFACE flg=0x400000 (has extras) } Broadcast completed: result=2, data="set-complication failed. com.google.wear.services.watchfaces.FavoriteOperationException: Watch face package is not installed."

I would like to know what this message means and what I have to do to avoid it.

It seems to me that tile, complication and MainActivity are different processes - is this true? How can I share data amoung them, for example the complication has received a value and is displaying this and the tile shall also display this value - how does the tile gets to this value?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.