1

我正在从移动应用程序向智能手表发送信号,收到信号后,智能手表会生成信号并将其发送到手机应用程序。只要手机是发送数据的人,该应用程序就可以正常工作,但是每当应用程序尝试发送某些内容时,就会生成以下错误:

Android Wear 错误 ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, resolution=null}

以下是我的可穿戴设备的依赖项:

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    compile 'com.google.android.support:wearable:2.0.0'
    compile 'com.google.android.gms:play-services-wearable:15.0.1'
    compile 'com.github.PhilJay:MPAndroidChart:v3.0.1'
    compile 'com.firebase:firebase-client-android:2.3.1'
    compile 'com.github.Gavras:GIFView:v1.1'
    implementation 'com.google.android.gms:play-services-location:15.0.1'

    implementation 'com.google.android.gms:play-services-maps:15.0.1'
}

以下是我的移动应用程序的依赖文件:

dependencies {

    compile fileTree(include: ['*.jar'], dir:
            'libs')



    compile 'com.android.support:appcompat-v7:27.0.2'
    //implementation 'com.google.android.gms:play-services-base:15.0.1'
    compile 'com.google.android.gms:play-services-wearable:15.0.1'
    compile 'com.android.support:design:27.0.2'
    compile 'com.android.support:cardview-v7:27.0.2'
    compile 'com.android.support:recyclerview-v7:27.0.2'
    compile 'com.firebase:firebase-client-android:2.3.1'
    compile 'com.android.support.constraint:constraint-layout:1.0.2'
    compile 'com.github.sundeepk:compact-calendar-view:2.0.2.1'
    compile 'com.roomorama:caldroid:3.0.1'
    implementation 'com.google.firebase:firebase-core:15.0.2'
    implementation 'com.google.firebase:firebase-auth:15.1.0'
    compile 'com.victor.ringbutton:lib:1.0.1'
    compile 'com.github.shem8:material-login:2.1.1'
    implementation 'com.google.firebase:firebase-storage:15.0.2'
    compile 'com.timqi.sectorprogressview:library:2.0.1'
    implementation 'com.google.firebase:firebase-database:15.0.1'
  //  implementation 'com.google.firebase:firebase-iid:15.1.0'
   // implementation 'com.google.firebase:firebase-database-collection:15.0.1'
    //implementation 'com.google.firebase:firebase-common:15.0.2'
    implementation 'com.google.firebase:firebase-messaging:15.0.2'

    compile 'io.github.yuweiguocn:SquareLoading:1.3.0'
    compile 'nl.psdcompany:duo-navigation-drawer:2.0.7'
    implementation 'com.github.PhilJay:MPAndroidChart:v3.0.3'
    compile('com.github.thekhaeng:pushdown-anim-click:1.0.7') {
        exclude group: 'com.android.support'
    }
    compile 'com.github.zjywill:OverwatchProgress:1.5'
    compile 'com.github.vlad1m1r990:Lemniscate:1.4.2'
    implementation 'com.google.android.gms:play-services-location:15.0.1'
    implementation 'com.google.android.gms:play-services-maps:15.0.1'
    implementation 'com.google.android.gms:play-services-measurement-base:15.0.2'

}

我尝试通过在可穿戴设备的设置中单击它们来尝试更新 google-play-services 的其他答案,但没有任何反应。我还尝试从手机重新同步应用程序,但无济于事。

4

0 回答 0