Ram_T
Ram_T

Reputation: 8484

Unable to build android apk after adding googleplus plugin? ionic1

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.

Getting above error while building the android apk. please help me to solve this.

Upvotes: 0

Views: 318

Answers (1)

Update your Android SDK, especially the Play Services repository.

Upvotes: 2

Related Questions