Cordova GooglePlus插件崩溃为Android构建

时间:2017-08-29 13:17:48

标签: android cordova google-plus

我正在使用cordova-plugin-googleplus登录Google,在尝试构建时,我得到:

Error: cmd: Command failed with exit code 1 Error output:
D:\..\project\platforms\android\src\nl\xservices\plugins\GooglePlus.java:151: error: cannot access AbstractSafeParcelable
            .addApi(Auth.GOOGLE_SIGN_IN_API, gso.build());
            ^
  class file for com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable not found
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

我到处寻找,没有任何解决方案适合我。

插件版本:5.1.1

Cordova版本:7.0.1

我已经在使用compile "com.google.firebase:firebase-messaging:10.0.1",因此其他问题线程不是重复的

0 个答案:

没有答案