符号,在弹出窗口中没有显示了。 logcat说Android的 - 谷歌玩游戏服务,找不到方法android.view.View.getDisplay
Could not find method android.view.View.getDisplay, referenced from method com.google.android.gms.internal.bn$b.b
VFY: unable to resolve virtual method 3169: Landroid/view/View;.getDisplay()Landroid/view/Display;
VFY: replacing opcode 0x6e at 0x0009
我只测试在真正的设备,三星S3是Android 4.1.2(API 16)。 getDisplay()方法需要API 17.我尝试过“扩展FragmentActivity”,但support-v4库中没有getDisplay()。 GamesClient.Builder.setViewForPopups()要么没有帮助。 按照要求说明,Google Play游戏服务应该支持自Android 2.2以来的版本。
我所有的开发工具是最新的更新。 google-play-lib 3.1.59(744626-30),SDK 22.0.4。
非常感谢。
你如何整合谷歌Play服务,在您的项目?你使用Eclipse还是Android Studio/Gradle? – fasteque