我有一个Gmaps应用程序,它在纵向模式下工作正常,但在旋转到横向模式时关闭,它不会崩溃,但只是关闭!
在LogCat中我得到了这个,
09-19 16:24:24.056: W/ResourceType(20122): getEntry failing because entryIndex 939 is beyond type entryCount 1
09-19 16:24:24.056: W/ResourceType(20122): Failure getting entry for 0x7f0b03ab (t=10 e=939) in package 0 (error -2147483647)
09-19 16:24:24.056: E/GooglePlayServicesUtil(20122): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
但谷歌播放服务已经存在,并且它是最新的。
任何人都有任何线索?感谢
答案 0 :(得分:0)
处理您的清单中的屏幕方向更改,为您执行此活动
android:configChanges="orientation|keyboardHidden"
处理屏幕方向更改和键盘可用性更改: