相关疑难解决方法(0)

未找到ID为'com.google.gms.google-services'的插件

我已按照此链接在我的应用中集成广告.但它显示了这个错误:

错误图片

这是我的build.gradle:

apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
android {
compileSdkVersion 24
buildToolsVersion "24.0.2"





defaultConfig {
    applicationId "com.example.personal.numbermania"
    minSdkVersion 10
    targetSdkVersion 24
    versionCode 1
    versionName "1.0"
}
buildTypes {
    debug
            {
                debuggable true
            }
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}


dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:24.2.1'
    compile 'com.android.support:design:24.2.1'
    compile 'com.google.firebase:firebase-ads:9.6.0'

}

}
Run Code Online (Sandbox Code Playgroud)

广告没有出现在真实的设备中.请帮助我这是我更新类路径错误后的 错误

android admob firebase

69
推荐指数
11
解决办法
11万
查看次数

无法获取GCM配置文件

我正在将GCM集成到我的一个项目中.为此,我们需要获取配置文件.我指的是这个GCM链接.

当我点击"GET CONFIGURATION FILE"时,它会被重定向到一个页面.但是,我在该页面上看不到任何内容.它继续加载,没有显示任何内容.

在此输入图像描述

请帮帮我.

android google-cloud-messaging

3
推荐指数
1
解决办法
390
查看次数

标签 统计

android ×2

admob ×1

firebase ×1

google-cloud-messaging ×1