Ich Ionic 2 für mein Android-Anwendung. Versuch, virtuelle Methode ‚android.content.Context com.google.android.gms.common.api.GoogleApiClient.getContext()‘ auf ein Null-Objekt Verweis aufrufen
Jedes Mal, wenn ich versuche, mit dem Cordova Google Plus-Plug-in anmelden, es gibt die folgende Fehlermeldung:
Attempt to invoke virtual method 'android.content.Context com.google.android.gms.common.api.GoogleApiClient.getContext()' on a null object reference
Ich bin auf einem realen Gerät testen (Android 5) mit Google+ installiert und aktiviert.
GooglePlus.login().then((data) => {
console.log(data);
}).catch((data) => {
console.log(data);
});
Great! Vielen Dank. Dies sollte genehmigt werden! –
Vielen Dank :) –