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插件后无法构建android apk? ionic1
尝试删除插件和平台并读取它。如果它仍然无法正常工作,请尝试发布插件,例如5.0.0 – e666
我需要使用插件。我必须解决错误,但不能删除插件。还有一件事是,它在运行'cordova build android'时自动添加插件。我删除了插件和平台,但仍然遇到同样的问题。 –
您是否尝试过其他版本的插件?如果插件自动添加尝试删除插件和平台文件夹,也许你有一个错误的版本。 – e666