0
我爲應用實施了Google帳戶登錄按鈕,當我打開應用(Android 6.0.1)並輸入登錄頁面時,它會顯示一個對話框說這個應用程序將無法運行,除非你更新谷歌播放服務[Android]除非您更新Google Play服務,否則此應用無法運行
這是我的代碼:
compile 'com.google.android.gms:play-services:9.2.1'
compile 'com.google.android.gms:play-services-auth:9.2.1'
public void onCreate(Bundle savedInstanceState){
super.onCreate(savedInstanceState);
GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
.requestEmail()
.build();
mGoogleApiClient = new GoogleApiClient.Builder(getActivity().getApplicationContext())
.addApi(Auth.GOOGLE_SIGN_IN_API)
.addConnectionCallbacks(this)
.addOnConnectionFailedListener(this)
.build();
mGoogleApiClient.connect();
}
我檢查了谷歌播放服務我的Android設備上86年8月1日 是那是因爲8.1 < 9.2? 如何避免已過期谷歌播放服務應用程序的用戶此消息?