I have an existed Android App in Google Play Store and have created an Android Wear 2 App (using SDK 25) as a standalone semi-independent one. Semi-independent means that the user could use some additional features if the Android App is installed but it's not necessary (I am planning to use DataLayerApi for the watch <-> phone communication). So before Wear 2 App's distribution on Google Play:
As specified in the documentation for packaging Wear 2.0 apps ,
If your Wear 2.0 app has an accompanying phone app, use the same package name for your Wear app and that phone app.
If you use different package names, your apps on the two devices will not be able to communicate with each other via the Wear APIs.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.