久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

基于離子的游戲服務(wù)測量問題

Problem with play-services-measurement-base on ionic(基于離子的游戲服務(wù)測量問題)
本文介紹了基于離子的游戲服務(wù)測量問題的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

我在一個離子項目上遇到了一個問題,它昨天開始發(fā)生而沒有修改任何依賴項.

I have a problem on an ionic project that it started happening yesterday without modifying any dependency.

當我運行 ionic cordova run android 我有這個錯誤:

When I run ionic cordova run android I have this error:

The library com.google.android.gms:play-services-measurement-base is being requested by various other libraries at [[16.5.0,16.5.0], [16.4.0,16.4.0]], but resolves to 16.5.0. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.

但是這些天我沒有安裝任何依賴項.

But I didn't installed any dependency in these days.

這是我的 cordova 插件 列表:

cordova-fabric-plugin 1.1.14-dev "cordova-fabric-plugin"
cordova-plugin-advanced-http 2.0.9 "Advanced HTTP plugin"
cordova-plugin-app-version 0.1.9 "AppVersion"
cordova-plugin-appminimize 1.0.1 "AppMinimize"
cordova-plugin-apprate 1.4.0 "AppRate"
cordova-plugin-appsee 2.6.0 "Appsee"
cordova-plugin-badge 0.8.8 "Badge"
cordova-plugin-datepicker 0.9.3 "DatePicker"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-dialogs 2.0.1 "Notification"
cordova-plugin-facebook4 3.2.0 "Facebook Connect"
cordova-plugin-file 6.0.1 "File"
cordova-plugin-firebase 2.0.5 "Google Firebase Plugin"
cordova-plugin-freshchat 1.2.0 "Freshchat plugin for Phonegap"
cordova-plugin-geolocation 4.0.1 "Geolocation"
cordova-plugin-globalization 1.11.0 "Globalization"
cordova-plugin-inappbrowser 3.0.0 "InAppBrowser"
cordova-plugin-inapppurchase-fixed 1.1.0 "In App Purchase"
cordova-plugin-insomnia 4.3.0 "Insomnia (prevent screen sleep)"
cordova-plugin-local-notification 0.9.0-beta.2 "LocalNotification"
cordova-plugin-media 5.0.2 "Media"
cordova-plugin-nativegeocoder 3.2.2 "NativeGeocoder"
cordova-plugin-nativestorage 2.3.2 "NativeStorage"
cordova-plugin-network-information 2.0.1 "Network Information"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
cordova-plugin-x-socialsharing 5.4.4 "SocialSharing"
cordova-support-google-services 1.2.1 "cordova-support-google-services"
es6-promise-plugin 4.2.2 "Promise"
ionic-plugin-deeplinks 1.0.19 "Ionic Deeplink Plugin"
nl.kingsquare.cordova.background-audio 1.0.1 "background-audio"
pushwoosh-cordova-plugin 7.13.0 "Pushwoosh"

我在我的 platforms/android/app/build.gradle 中找到了這些依賴項(如果很高興知道的話):

I found these dependencies in my platforms/android/app/build.gradle (if it's good to know):

dependencies {
    implementation fileTree(dir: 'libs', include: '*.jar')
    // SUB-PROJECT DEPENDENCIES START
    implementation(project(path: ":CordovaLib"))
    compile "com.android.support:support-v4:24.1.1+"
    compile "com.squareup.okhttp3:okhttp-urlconnection:3.10.0"
    compile "com.google.android.gms:play-services-tagmanager:+"
    compile "com.google.firebase:firebase-core:+"
    compile "com.google.firebase:firebase-messaging:+"
    compile "com.google.firebase:firebase-config:+"
    compile "com.google.firebase:firebase-perf:+"
    compile "com.android.support:support-v4:26.+"
    compile "com.android.support:support-v4:27.+"
    compile "com.android.support:appcompat-v7:27.+"
    compile "com.android.support:recyclerview-v7:27.+"
    compile "com.android.support:design:27.+"
    compile "com.android.support.constraint:constraint-layout:1.0.2"
    compile "com.github.bumptech.glide:glide:4.7.1"
    compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:1.1.60"
    compile "com.pushwoosh:pushwoosh:5.13.0"
    compile "com.pushwoosh:pushwoosh-amazon:5.13.0"
    compile "com.pushwoosh:pushwoosh-badge:5.13.0"
    compile "com.pushwoosh:pushwoosh-inbox:5.13.0"
    compile "com.pushwoosh:pushwoosh-inbox-ui:5.13.0"
    compile "com.facebook.android:facebook-android-sdk:4.38.1"
    compile "com.appsee:appsee-android:2.6.0"
    // SUB-PROJECT DEPENDENCIES END
}

我不知道在哪里搜索.我發(fā)現(xiàn)了一種解決方法,即在 platforms/android/build.gradle 中禁用 GoogleServicesPlugin 的版本檢查: com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true 但它對我不起作用.

I don't know where to search. I found a workaround that is disabling version check of GoogleServicesPlugin in the platforms/android/build.gradle making: com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true but it doesn't work for me.

提前致謝.

編輯:看來我不是唯一一個.這里.

EDIT: It seems like i'm not the only one. Here.

推薦答案

這里發(fā)布的解決方案沒有對我有用.一個奇葩的人在cordova-firebase中打開了一個pull request-plugin 官方 repo 并且可以正常工作.

No solutions posted here worked for me. A wonderful person opened a pull request in the cordova-firebase-plugin official repo and it works.

我做的步驟:

1 - 使用 ionic cordova plugin remove cordova-plugin-firebase

2 - 安裝:ionic cordova plugin add cordova-plugin-firebasex

3 - rm -rf node_modules/plugins/platforms/android package-lock.json

4 - ionic cordova 平臺添加 android &&npm 安裝

現(xiàn)在它開始工作了.

這篇關(guān)于基于離子的游戲服務(wù)測量問題的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

IncompatibleClassChangeError after updating to Android Build Tools 25.1.6 GCM / FCM(更新到 Android Build Tools 25.1.6 GCM/FCM 后出現(xiàn) IncompatibleClassChangeError)
How to get current flavor in gradle(如何在 gradle 中獲取當前風味)
How to fix quot;unexpected element lt;queriesgt; found in lt;manifestgt;quot; error?(如何修復(fù)“意外元素lt;查詢gt;在“清單中找到錯誤?)
Multi flavor app based on multi flavor library in Android Gradle(基于 Android Gradle 中多風味庫的多風味應(yīng)用)
Android dependency has different version for the compile and runtime(Android 依賴在編譯和運行時有不同的版本)
Transitive dependencies for local aar library(本地 aar 庫的傳遞依賴)
主站蜘蛛池模板: japan25hdxxxx日本 做a的各种视频 | 日韩欧美在线一区 | 日本a视频 | 国产97在线看 | 亚洲福利视频网 | 中文字幕日韩三级 | 男女在线免费观看 | 国产精品一区二区av | xx视频在线 | 久草资源在线 | 一区二区不卡 | 欧美成人免费在线 | 久久久91精品国产一区二区精品 | 91se在线| 国产精品久久久久久久久久 | 久久亚洲高清 | 七七婷婷婷婷精品国产 | 毛片网站在线观看 | 欧美午夜剧场 | 日本特黄a级高清免费大片 国产精品久久性 | 91麻豆精品国产91久久久久久久久 | 国产目拍亚洲精品99久久精品 | 中文字幕在线二区 | 天天插天天操 | 国产视频中文字幕 | 一区二区在线不卡 | 免费在线黄 | 色吧综合 | 欧美精品在线观看 | 久久久精品 | 国产激情视频在线观看 | 国产成人福利视频 | 日韩在线观看中文字幕 | 亚洲精品一区二区 | 欧美一区2区三区4区公司二百 | 国产精品免费一区二区三区四区 | 国产成人免费视频网站高清观看视频 | 国产亚洲精品久久久久动 | 欧美国产精品久久久 | 老外几下就让我高潮了 | 亚洲人精品午夜 |