I set up a project with admob as this tutorial say, but got no ads shown.
Here is my log (level: info):
11-01 11:11:45.530 4852-4852/com.xxx W/GooglePlayServicesUtil: Google Play services is missing.
11-01 11:11:45.530 4852-4852/com.xxx I/Ads: Starting ad request.
11-01 11:11:45.720 4852-5079/com.xxx W/ApplicationContext: Unable to create cache directory
11-01 11:11:45.750 4852-5089/com.xxx I/Ads: Not on service, return
11-01 11:11:45.780 4852-4900/com.xxx E/OSNetworkSystem: OSNetworkSystem_connect fail result:-111
11-01 11:11:45.790 4852-4900/com.xxx E/OSNetworkSystem: OSNetworkSystem_connect fail result:-111
11-01 11:11:45.790 4852-4900/com.xxx E/OSNetworkSystem: OSNetworkSystem_connect fail result:-111
11-01 11:11:55.800 4852-5089/com.xxx W/Ads: There was a problem getting an ad response. ErrorCode: 0
11-01 11:11:55.800 4852-4852/com.xxx W/Ads: Failed to load ad: 0
And settings:
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "com.xxx"
minSdkVersion 9
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.0'
compile 'com.android.support:design:23.1.0'
compile 'com.google.android.gms:play-services-ads:8.1.0'
}
What should I do?