离子科尔多瓦添加admob插件后生成android错误

时间:2020-03-03 03:10:14

标签: android node.js cordova ionic-framework

我正在尝试构建项目,但是添加admob插件后,运行projet时会出现问题。

What went wrong:
Could not resolve all files for configuration ':app:debugCompileClasspath'.
> Could not find com.google.android.gms:play-services-base:16.2.0.
  Required by:
      project :app
> Could not find com.google.android.gms:play-services-ads:16.2.0.
  Required by:
      project :app
> Could not find com.google.android.gms:play-services-base:16.2.0.
  Required by:
      project :app > com.google.android.gms:play-services-auth:15.0.1
      project :app > com.google.android.gms:play-services-identity:15.0.1
      project :app > com.google.android.gms:play-services-auth-api-phone:15.0.1
      project :app > com.google.android.gms:play-services-auth-base:15.0.1
> Could not find com.google.android.gms:play-services-base:16.2.0.
  Required by:
      project :app > com.google.firebase:firebase-iid-interop:16.0.1

我尝试将这行添加为classpath 'com.google.gms:google-services:4.1.0',但不正确

0 个答案:

没有答案