Eclipse, libgdx and Gradle. Cannot get Google play services admob to work -
i want use admob in libgdx (1.4.1) project using eclipse (indigo). have donwload google play services , google repositry using sdk. have added following gradle.build file in android project:
project(":android") { apply plugin: "android" configurations { natives } dependencies { compile project(":core") compile "com.badlogicgames.gdx:gdx-backend-android:$gdxversion" compile 'com.google.android.gms:play-services:6.+' {more not listed}
this output of gradle task :android:androiddependencies
:
:android:androiddependencies debug \--- com.google.android.gms:play-services:6.1.71 \--- com.android.support:support-v4:20.0.0 debugtest no dependencies release \--- com.google.android.gms:play-services:6.1.71 \--- com.android.support:support-v4:20.0.0
in android project, directory gradle dependencies (persisted)
can see
support-v4-20.0.0.aar play-services-6.1.71.aar
however, when try create protected adview adview
variable, not find class adview. when pressing ctrl-shift-o message 0 imports added
. when manually import adview class not find either.
could point out doing wrong?
Comments
Post a Comment