Error: cmd: Command failed with exit code 1 Error output:
C:\xampp\htdocs\encircle\ui\platforms\android\src\nl\xservices\plugins\GooglePlu
s.java:309: error: cannot find symbol
result.put("familyName", acct.getFamilyName());
^
symbol: method getFamilyName()
location: variable acct of type GoogleSignInAccount
C:\xampp\htdocs\encircle\ui\platforms\android\src\nl\xservices\plugins\GooglePlu
s.java:310: error: cannot find symbol
result.put("givenName", acct.getGivenName());
^
symbol: method getGivenName()
location: variable acct of type GoogleSignInAccount
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
FAILURE: Build failed with an exception.
android apkをビルドする際に上記のエラーが発生します。これを解決するために私を助けてください。googleplusプラグインを追加した後、アンドロイドAPKをビルドできませんか? ionic1
プラグインとプラットフォームを削除してみてください。まだ動作していない場合は、5.0.0 – e666
のようなプラグインのリリースを試してみてください。プラグインの使用が必要です。私はエラーを解決する必要がありますが、プラグインの削除はしません。もう一つは、 'cordova build android'を実行している間に自動的にプラグインを追加することです。私はプラグインとプラットフォームを削除しましたが、同じ問題がまだ発生しています。 –
プラグインの別のバージョンを試しましたか?プラグインが自動的に追加された場合、プラグインとプラットフォームのフォルダを削除しようとすると、間違ったバージョンになっている可能性があります。 – e666