Я очень desedperated !! Я пытаюсь внедрить Admob Ads в своем приложении ... но это эпический сбой ... Я трачу больше времени на внедрение Admob, чем на кодирование моего приложения ... Мне действительно нужна ваша помощь.Admob Объявления не могут быть загружены
я дать вам всю информацию:
Мои AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="package.test.sound"
android:versionCode="1"
android:versionName="1.0" >
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<application
android:icon="@drawable/gg"
android:label="@string/app_name" >
<activity
android:name=".startActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".test1"
android:label="@string/app_name" >
</activity>
<activity
android:name=".test2"
android:label="@string/app_name" >
</activity>
<activity
android:name=".test3"
android:label="@string/app_name">
</activity>
<meta-data android:value="xxxx MY ID xxxx" android:name="ADMOB_PUBLISHER_ID" />
<activity android:name="com.google.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"></activity>
<uses-sdk android:minSdkVersion="10"/>
</application>
</manifest>
и теперь мой main.xml
<?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:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/sc2"
android:orientation="vertical" >
<LinearLayout
android:id="@+id/linearLayout1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center" >
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="test1"
android:textColor="#005113" />
<Button
android:id="@+id/button3"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="test2"
android:textColor="#970000" />
<Button
android:id="@+id/button2"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="test3"
android:textColor="#001760" />
</LinearLayout>
<LinearLayout
android:id="@+id/linearLayout1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:gravity="bottom" >
<com.google.ads.AdView
android:id="@+id/adView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
ads:adSize="BANNER"
ads:adUnitId="xxxx MY ID xxxx"
ads:loadAdOnCreate="true" >
</com.google.ads.AdView>
</LinearLayout>
</LinearLayout>
я не знаю, что делать ...
Я использую Admob SDK 4.3.1, и мои свойства проекта находятся на Android 4.0.3! Цель моего проекта: target = android-15.
И еще одна вещь ... когда я установить мой APK на моем HTC EVO 3D, приложение не в полном объеме, это мало на моем экране, я не знаю, почему тоже ...
Но моя первая большая большая проблема заключается в том, что объявления не отображаются ...
И когда я эмулировать мое приложение с AVD эмулятор на затмении у меня есть этот экран на LogCats отладки: http://s4.noelshack.com/old/up/help-c2e97f1a28.jpg
Спасибо за вашу помощь !!!
http://stackoverflow.com/questions/9077400/admob-ads-is-not-showing-up-admob-4-3-1 – Selvin
ответ не работает для меня. Пожалуйста, помогите мне вместо этого :) – dealswiss