gpt4 book ai didi

android - google-play-services_lib 中的错误?

转载 作者:行者123 更新时间:2023-11-30 01:47:59 25 4
gpt4 key购买 nike

当您尝试将 AdMob 添加到 Android 1.6(Level4) 时,您会收到消息:

Could not find method android.view.Display.getRealMetrics, referenced from method com.google.android.gms.ads.internal.util.client.zza.zzT.

SDK 1.6android.view.Display 中没有 getRealMetrics() 方法。他们希望检测级别并添加能够运行的方法:

AdRequest adRequest = new AdRequest.Builder().build();

这是 google-play-services_lib 中的错误吗?

最佳答案

根据此链接:https://developers.google.com/android/guides/setup

To test your app when using the Google Play services SDK, you must useeither:

*A compatible Android device that runs Android 2.3 or higher andincludes Google Play Store.

*The Android emulator with an AVD that runsthe Google APIs platform based on Android 4.2.2 or higher.

希望对您有所帮助。

关于android - google-play-services_lib 中的错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33437824/

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