Admob AdView提供了大量日志和错误

时间:2013-03-29 20:33:50

标签: android logging admob

我在我的Android应用程序项目中使用了admob,它给了我大量的日志错误和警告。

布局:

<com.google.ads.AdView
    android:id="@+id/adView"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentBottom="true"

    ads:adSize="BANNER"
    ads:adUnitId="..."
    ads:loadAdOnCreate="true"
    ads:testDevices="..." >
</com.google.ads.AdView>

我使用以下代码在onCreate中简单地初始化广告:

adView = (AdView) findViewById(R.id.adView);
AdRequest ar = new AdRequest();
ar.addTestDevice("my device id here");
adView.loadAd(ar);

我的日志被以下所有内容所淹没:

03-29 21:24:08.010: V/chromium(10419): external/chromium/net/host_resolver_helper/host_resolver_helper.cc:66: [0329/212408:INFO:host_resolver_helper.cc(66)] DNSPreResolver::Init got hostprovider:0x00000000
03-29 21:24:08.010: V/chromium(10419): external/chromium/net/base/host_resolver_impl.cc:1510: [0329/212408:INFO:host_resolver_impl.cc(1510)] HostResolverImpl::SetPreresolver preresolver:0x51120230
03-29 21:24:08.010: D/(10419): dl error message Cannot load library: load_library[1118]: Library 'libtcpfinaggr.so' not found
03-29 21:24:08.010: D/Socket_Pool(10419): Failed to create TCP Fin Aggregation interface.
03-29 21:24:08.010: D/Socket_Pool(10419): netstack: CloseUnusedSockets is ON
03-29 21:24:08.010: D/Socket_Pool(10419): netstack: system net.statistics value: 0
03-29 21:24:08.010: D/Socket_Pool(10419): Failed to create TCP Fin Aggregation interface.
03-29 21:24:08.010: D/Socket_Pool(10419): netstack: CloseUnusedSockets is ON
03-29 21:24:08.010: D/Socket_Pool(10419): netstack: system net.statistics value: 0
03-29 21:24:08.015: D/(10419): external/chromium/net/http/http_getzip_factory.cc: Failed to construct GETzip manager, didn't find the library!
03-29 21:24:08.020: D/netstack(10419): netstack: Request Priority is ON
03-29 21:24:08.025: V/chromium(10419): external/chromium/net/disk_cache/hostres_plugin_bridge.cc:52: [0329/212408:INFO:hostres_plugin_bridge.cc(52)] StatHubCreateHostResPlugin initializing...
03-29 21:24:08.025: V/chromium(10419): external/chromium/net/disk_cache/hostres_plugin_bridge.cc:68: [0329/212408:INFO:hostres_plugin_bridge.cc(68)] netstack: Failed to open plugin:libdnshostprio.so
03-29 21:24:08.025: V/chromium(10419): external/chromium/net/disk_cache/hostres_plugin_bridge.cc:73: [0329/212408:INFO:hostres_plugin_bridge.cc(73)] netstack: Failed to find symbols in plugin: libdnshostprio.so
03-29 21:24:08.025: E/chromium(10419): external/chromium/net/disk_cache/stat_hub.cc:216: [0329/212408:ERROR:stat_hub.cc(216)] StatHub::Init - App com.twinone.control isn't supported.
03-29 21:24:08.025: V/chromium(10419): external/chromium/net/disk_cache/hostres_plugin_bridge.cc:73: [0329/212408:INFO:hostres_plugin_bridge.cc(73)] netstack: Failed to find symbols in plugin: libdnshostprio.so
03-29 21:24:08.025: E/chromium(10419): external/chromium/net/disk_cache/stat_hub.cc:216: [0329/212408:ERROR:stat_hub.cc(216)] StatHub::Init - App com.twinone.control isn't supported.

我有几个问题:

  • 当然:我做错了什么?
  • 为什么,它与AdMob有什么关系?
  • 为什么这么多日志?不能只有1个错误或堆栈跟踪吗?
  • 为什么抱怨找不到图书馆?

(BTW我尝试将GoogleAdMobAdsSdk-6.3.1.jar链接为引用库,但这不起作用,所以我直接将jar复制到libs文件夹中。)

广告正确显示(包括测试广告和真实广告),但这些日志让我感到紧张。


修改

也许与在SGS2上使用CM10-nightly有关?

1 个答案:

答案 0 :(得分:0)

我在朋友的设备上测试了它并没有给出任何错误。 我认为这是CyanogenMod。