Ошибка зависимости сервиса Google Play в проекте Ioni c после загрузки плагина родной рекламы Facebook - PullRequest
0 голосов
/ 06 февраля 2020

У меня есть проект Ioni c.
Я подписан на эту страницу , чтобы добавить нативную рекламу.
После того, как я добавил плагин «cordova-plugin-facebookads» в свой проект, во время сборки появляется следующая ошибка:

FAILURE: Build failed with an exception.

What went wrong: Failed to capture fingerprint of input files for task ':app:preDebugBuild' property 'compileManifests' during
 up-to-date check.
 In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[17.0.   0]", but isn't
 being resolved to that version. Behavior exhibited by the library will
 be unknown.

 Dependency failing:
 com.google.android.gms:play-services-measurement-api:17.0.0 -
 com.google.android.gms:play-services-   measurement-sdk-api@[17.0.0],
 but play-services-measurement-sdk-api version was 17.1.0.

   The following dependencies are project dependencies that are direct
 or have transitive dependencies that lead to the art   ifact with the
 issue.   
-- Project 'app' depends onto com.facebook.android:audience-network-sdk@4.+   
-- Project 'app' depends onto com.google.firebase:firebase-core@17.0.0   
-- Project 'app' depends onto com.google.android.gms:play-services-ads@+   
-- Project 'app' depends onto com.google.firebase:firebase-core@16.0.9  
-- Project 'app' depends onto com.google.android.gms:play-services-tagmanager@17.0.0

   For extended debugging info execute Gradle from the command line
 with ./gradlew --info :app:assembleDebug to see the dep   endency
 paths to the artifact. This error message came from the
 google-services Gradle plugin, report issues at https:    //github.com/google/play-services-plugins and disable by adding
 "googleServices { disableVersionCheck = false }" to your build.gradle file.

 Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Я попробовал несколько вещей на этой ссылке, но не смог не могу найти решение.
Я пробовал команду cordova build android --scan --info --debug, как указано выше, чтобы получить подробности, но она не сработала. Как я могу решить эту проблему?

Детали моего проекта:

Иони c Каркас: 3.7.1
Иони c Сценарии приложения: 3.0.0
Angular Ядро: 4.4.3
Angular CLI компилятора: 4.4.3
Узел: 10.16.3
Платформа ОС: Windows 10
Платформа навигатора: Win32

...