Android构建错误IONIC2

Android构建错误IONIC2,ionic2,Ionic2,我是新加入ionic2的,当我添加谷歌地图插件时,android构建成功了。 但我的应用程序中需要地理围栏。所以,当我添加geofence插件时,它会给我以下错误 And build failed. cannot access AbstractSafeParcelable Builder builder = LatLngBounds.builder(); ^ class file for com.google.

我是新加入ionic2的,当我添加谷歌地图插件时,android构建成功了。 但我的应用程序中需要地理围栏。所以,当我添加geofence插件时,它会给我以下错误

And build failed.


cannot access AbstractSafeParcelable
    Builder builder = LatLngBounds.builder();
                                  ^

  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

:compileDebugJavaWithJavac FAILED

当我添加geofence插件时。。如何和哪个插件?你还可以添加你的package.json吗?爱奥尼亚插件添加——保存cordova插件地理围栏这一个我已经添加了package.json plz help.hmm。看起来不错。。这有关系吗?但我的谷歌地图运行良好。