Google Play 서비스를 설치했지만 내 애플리케이션이 제대로 작동하지만 앱을 열지 않으면 애플리케이션이 열립니다. 분명하지만 Google Play 서비스를 기기에서 사용할 수 있는지 여부를 확인하는 메소드를 추가하면 오류 대화 상자가 표시되지만 그렇지 않으면 오류 메시지가 표시됩니다. 신청서도 열리지 않습니다.Google지도 API v2가 실제 기기에서 중지되었습니다.
다른 게시물에서 복사하는 코드입니다. 나는 이것을 코드로 시도했지만 작동하지 않는다.
방법 : onResume에서
public void checkGooglePlayServicesAvailability()
{
int resultCode = GooglePlayServicesUtil.isGooglePlayServicesAvailable(this);
if(resultCode != ConnectionResult.SUCCESS)
{
Dialog dialog = GooglePlayServicesUtil.getErrorDialog(resultCode, this, 1);
dialog.setCancelable(false);
dialog.show();
}
Log.d("GooglePlayServicesUtil Check", "Result is: " + resultCode);
}
호출() :
@Override
protected void onResume()
{
checkGooglePlayServicesAvailability();
super.onResume();
}
내가 설치 한 Google지도, 너무. 어쩌면 누군가 나를 도울 수 있습니까?
편집 : 로그 캣 :
07-07 15:33:39.150: E/Trace(3448): error opening trace file: No such file or directory (2)
07-07 15:33:41.361: E/Google Maps Android API(3448): Google Maps Android API v2 only supports devices with OpenGL ES 2.0 and above
07-07 15:43:15.820: E/Google Maps Android API(3524): Google Maps Android API v2 only supports devices with OpenGL ES 2.0 and above
07-07 16:06:55.349: E/Trace(3615): error opening trace file: No such file or directory (2)
07-07 16:06:57.841: E/Google Maps Android API(3615): Google Maps Android API v2 only supports devices with OpenGL ES 2.0 and above
스택 추적을 게시 할 수 있습니까? – Emmanuel
메인 포스트에 추가합니다. – user2511941