Please help me!!! Or give me a link where I can find a solution or people who knows how it works!
I developed a Android/GoogleWear watchface in Android Studio. Basically I modified the given one in android studio with this very ugly dog.
It works perfect in the round and square emulator and perfect on my real smartwatch, Ticwatch E, via USB.
Now I want to deploy it in the Google PlayStore.
First I read that nowadays (WearOS 2.0) no longer an additional phone app is required, just the wear app (watchface). Therefor I generated a signed apk out of it and put it on playstore. But this app was neither compatibel with any of my phones (of course it is only for the smartwatch), but also not compatible for my smartwatch. So I expected that the build is somehow not correct.
The I go the way to have an additional phone app. I open a new project with a wear and a phone part/module. Then I build the signed wear apk and then the signed phone apk from that android studio project. I uploaded both into the same playstore app, assuming on phones the phone apk is used and on the smartphone the smartphone apk. Now the app is possible to install from playstore at the phone and I can open it. Somewhere it is said, that once the phone app is installed at a smartphone, the watchface will be synced to the smartwatch. But this does not happen. The watchface is even not visible in the google wear app!
Must the wear app but inserted into the phone app too? I have read also some people saying this, but why Android Studio is not doing this by default?
Pleace can I get a hint, how this puzzle will work together. Please!
EDIT:
I got it working. At least the traditional way of installation of a android wear watchface. That means first installing an app on the smartphone, and when the android wear smartwatch is connected with the smartphone via bluetooth, the containing watchface is transferred to the watch. Additionally a notification is poping up at the smartwatch that a new watchface is available.
Since this is working, I did not look for the other installation way for wear watches with version 2.x which can be directly installed at the watch going into google playstore. Maybe when there is time.
So how I achieved to achieve traditional installation way:
First an Android Studio Projekt has to be created, where both an phone/mobile part and a wear part is selected. In the manifest of the wear part the following was necessary
android:name="com.google.android.wearable.standalone"
android:value="false"
If it is set to "yes" it does not work.
Now simply the mobile part has to be exported as signed APK. AndroidStudio automatically includes the wear part into this APK as well. This generated APK can then be uploaded and released in PlayStore.
The mobile part just needs a simple activity with no more functionality. Only if you want to provide settings for the watchface to be controlled from smartphone it will need more functionality. But I did not do this. This simply activity is called when the uploaded app is installed and executed at the smartphone. I just show a message at that activity, to inform the user that the watchface in now registered, and will be available at the smartwatch, when the watch and the smartphone will be connected.