我在3个设备(Samsung S5,Samsung Note 8和Nexus 5)中编译了我的代码android,三星S5中没有显示的横幅广告,以及三星S5和Nexus 5中没有显示的Interstitiel广告。但它在注8中同时适用(Interstitiel广告和横幅广告)。请告诉我为什么 ?感谢。
这是build.plugin(module:app):
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
buildToolsVersion "26.0.2"
defaultConfig {
applicationId "com.mypackage"
minSdkVersion 16
targetSdkVersion 27
versionCode 2
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile files('libs/YouTubeAndroidPlayerApi.jar')
compile 'com.android.support:appcompat-v7:27.+'
compile 'com.android.support:design:27.+'
compile 'com.android.support:cardview-v7:27.0.2'
compile 'com.android.support:recyclerview-v7:27.0.2'
compile 'com.android.volley:volley:1.1.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.google.android.gms:play-services-ads:11.8.0'
compile "commons-io:commons-io:+"
testCompile 'junit:junit:4.12'
}
repositories {
maven {
url "https://maven.google.com"
}
}
我使用的不同设备的图像: