Syncing mobile App to Android Wear

后端 未结 3 1067
迷失自我
迷失自我 2021-01-05 10:34

According to the doc: Packing wearable Apps I am using the following code:

dependencies 
{
  compile \'com.google.android.gms:play-services:5.0.+@aar\'
  com         


        
相关标签:
3条回答
  • 2021-01-05 11:26

    I had this problem where the wear app wouldn't install. So I made sure the mobile app was installed (after exporting singed APK and doing an ADB INSTALL), then opened the Android Wear app, pressed the gears icon at the top and then selected Resync apps.

    0 讨论(0)
  • 2021-01-05 11:27

    I have two suggestions for you that may help.

    1) You mention you're using the wear emulator instead of a real watch device. I have experienced issues with connecting and syncing the emulator. Try resetting the emulator and reconnecting through Android Wear on your phone (aka running adb -d forward tcp:5601 tcp:5601) again.

    2) There seems to be some caching of versionCode on the Phone and it uses that to know if it needs to resync and update the app on the watch. Try incrementing your versionCode and see if that helps.

    Hope one of those helps.

    0 讨论(0)
  • 2021-01-05 11:37

    Try unpair and restore factory rest .

    It will solve the problems and sync all the data.

    It worked for me

    0 讨论(0)
提交回复
热议问题