<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads"
android:id="@+id/mainLayout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/appbg"
android:orientation="vertical" xmlns:app="http://schemas.android.com/apk/res-auto">
<Button
/>
<FrameLayout
>
<Spinner
/>
<Spinner
/>
<LinearLayout
>
<TextView
/>
<TextView
/>
<TextView
/>
</LinearLayout>
<ListView
</ListView>
</FrameLayout>
<com.google.android.gms.ads.AdView
xmlns:ads="http://schemas.android.com/apk/res-auto"
android:id="@+id/mainAd"
android:layout_width="fill_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:gravity="bottom"
android:orientation="horizontal"
app:adSize="BANNER"
app:adUnitId="ca-app-pub-입력했습니다."
>
</com.google.android.gms.ads.AdView>
</LinearLayout>
현재 돌아가는 메인 .java에 입력해주었구요.
매니페스트도 모두 등록했습니다. 그리고 SDK매니저 통해서 구글서비스 다운받아 라이브러리 적용도 시켰습니다.
그리고 레이아웃에서 XML에서 맨아래에 배너에 대한 레이아웃도 mainAd로 해주어서 Graphical Layout에서는
광고가 삽입된게 보이는데 지니모션 에뮬 실행해서 보면 광고가 뜨질않습니다 이유가 뭘까요;