gpt4 book ai didi

android - 适用于 Android 的 Google Admob 问题 : Google Play Services were not found

转载 作者:行者123 更新时间:2023-11-30 03:07:54 24 4
gpt4 key购买 nike

这个线程可能看起来重复(解决方案是导入 Google Play 库)。但是,我可以确保我已正确导入,因为我的 Google Map API 正常工作,并添加了必要的 list 项。使用来自 https://developers.google.com/mobile-ads-sdk/docs/admob/fundamentals 的代码示例,我收到标题中的错误并看到黑色布局。

有什么想法吗?

下面的 LogCat 是使用 Google 提供的工作代码生成的,然后用我的 G.Play 库导入...

 01-31 13:30:45.869: I/Ads(11130): Starting ad request.
01-31 13:30:45.877: I/dalvikvm(11130): Could not find method android.webkit.WebSettings.setMediaPlaybackRequiresUserGesture, referenced from method abz.<init>
01-31 13:30:45.881: W/dalvikvm(11130): VFY: unable to resolve virtual method 3345: Landroid/webkit/WebSettings;.setMediaPlaybackRequiresUserGesture (Z)V
01-31 13:30:45.881: D/dalvikvm(11130): VFY: replacing opcode 0x6e at 0x003d
01-31 13:30:46.001: E/GooglePlayServicesUtil(11130): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
01-31 13:30:46.049: D/libEGL(11130): loaded /system/lib/egl/libEGL_emulation.so
01-31 13:30:46.061: D/(11130): HostConnection::get() New Host Connection established 0xb932cbb8, tid 11130
01-31 13:30:46.077: D/libEGL(11130): loaded /system/lib/egl/libGLESv1_CM_emulation.so
01-31 13:30:46.077: D/libEGL(11130): loaded /system/lib/egl/libGLESv2_emulation.so
01-31 13:30:46.193: W/EGL_emulation(11130): eglSurfaceAttrib not implemented
01-31 13:30:46.217: D/OpenGLRenderer(11130): Enabling debug mode 0
01-31 13:30:46.285: D/OpenGLRenderer(11130): TextureCache::get: create texture(0xb92860f0): name, size, mSize = 1, 1048576, 1048576
01-31 13:30:46.301: E/GooglePlayServicesUtil(11130): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
01-31 13:30:46.305: E/GooglePlayServicesUtil(11130): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
01-31 13:30:46.437: D/OpenGLRenderer(11130): TextureCache::get: create texture(0xb92a4580): name, size, mSize = 2, 9216, 1057792
01-31 13:30:46.545: D/OpenGLRenderer(11130): TextureCache::get: create texture(0xb926c1f0): name, size, mSize = 4, 36864, 1094656
01-31 13:30:47.525: I/Ads(11130): Ad finished loading.

最佳答案

显然这是 Google Play 服务 SDK 中的错误。查看this bug report .它应该可以正常工作,但日志中会出现不正确的错误。

关于android - 适用于 Android 的 Google Admob 问题 : Google Play Services were not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21472157/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com