我制作了自己的表盘,现在我想在表盘上添加手机电池百分比以及能够从手机自定义表盘。我正在尝试使用它:Android Wear Watchface Settings on host但我不断收到错误消息。
Unknown entity 'connection callbacks'
Method
com.google.android.gems.common.Api.GoggleApiClient.builder.addConnectioncallbacks(com.google.android.gems.common.Api.GoggleApiClient.builder.Connectioncallbacks)'in
com.google.android.gems.common.Api.GoggleApiClient.Builder' connot be applied to '(com.example.android.wearable.embedded.app.WatchfaceConfigActivity.(anonymous) )'
Unknown entity ''OnConnectionFailedListene'
Method
com.google.android.gems.common.Api.GoggleApiClient.builder.addOnConnectionFailedListener(com.google.android.gems.common.Api.GoggleApiClient.builder.OnConnectionFailedListener)'in
com.google.android.gems.common.Api.GoggleApiClient.Builder' connot be applied to '(com.example.android.wearable.embedded.app.WatchfaceConfigActivity.(anonymous) )'