logo
Bienvenido visitante. Para activar todas las funcionalidades, por favor Iniciar sesión o Registrarse.

Aviso

Icon
Error

Opciones
Ir a la última publicación
miguels_92sr  
#1 Publicado : sábado, 31 de mayo de 2014 19:18:11(UTC)
miguels_92sr

Posición: Newbie

Grupos: Registered
Registrado: 31/05/2014(UTC)
Mensajes: 4
Ubicación: Valladolid

Creo que hago todo bien pero cuando lanzo el mapa la app no corre. Aqui pongo el logcat a ver si alguien me puede decir el error:

05-31 20:16:58.711: W/ApplicationPackageManager(21924): getCSCPackageItemText()
05-31 20:16:58.771: D/AndroidRuntime(21924): Shutting down VM
05-31 20:16:58.771: W/dalvikvm(21924): threadid=1: thread exiting with uncaught exception (group=0x41854da0)
05-31 20:16:58.781: E/AndroidRuntime(21924): FATAL EXCEPTION: main
05-31 20:16:58.781: E/AndroidRuntime(21924): Process: com.example.appfinal, PID: 21924
05-31 20:16:58.781: E/AndroidRuntime(21924): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.appfinal/com.example.appfinal.MapaLugaresActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class fragment
05-31 20:16:58.781: E/AndroidRuntime(21924): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2305)
05-31 20:16:58.781: E/AndroidRuntime(21924): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2363)
05-31 20:16:58.781: E/AndroidRuntime(21924): at android.app.ActivityThread.access$900(ActivityThread.java:161)
05-31 20:16:58.781: E/AndroidRuntime(21924): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265)
05-31 20:16:58.781: E/AndroidRuntime(21924): at android.os.Handler.dispatchMessage(Handler.java:102)
05-31 20:16:58.781: E/AndroidRuntime(21924): at android.os.Looper.loop(Looper.java:157)
05-31 20:16:58.781: E/AndroidRuntime(21924): at android.app.ActivityThread.main(ActivityThread.java:5356)
05-31 20:16:58.781: E/AndroidRuntime(21924): at java.lang.reflect.Method.invokeNative(Native Method)
05-31 20:16:58.781: E/AndroidRuntime(21924): at java.lang.reflect.Method.invoke(Method.java:515)
05-31 20:16:58.781: E/AndroidRuntime(21924): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
05-31 20:16:58.781: E/AndroidRuntime(21924): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
05-31 20:16:58.781: E/AndroidRuntime(21924): at dalvik.system.NativeStart.main(Native Method)
05-31 20:16:58.781: E/AndroidRuntime(21924): Caused by: android.view.InflateException: Binary XML file line #2: Error inflating class fragment
05-31 20:16:58.781: E/AndroidRuntime(21924): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:719)
05-31 20:16:58.781: E/AndroidRuntime(21924): at android.view.LayoutInflater.inflate(LayoutInflater.java:470)
05-31 20:16:58.781: E/AndroidRuntime(21924): at android.view.LayoutInflater.inflate(LayoutInflater.java:398)
05-31 20:16:58.781: E/AndroidRuntime(21924): at android.view.LayoutInflater.inflate(LayoutInflater.java:354)
05-31 20:16:58.781: E/AndroidRuntime(21924): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:359)
05-31 20:16:58.781: E/AndroidRuntime(21924): at android.app.Activity.setContentView(Activity.java:2010)
05-31 20:16:58.781: E/AndroidRuntime(21924): at com.example.appfinal.MapaLugaresActivity.onCreate(MapaLugaresActivity.java:12)
05-31 20:16:58.781: E/AndroidRuntime(21924): at android.app.Activity.performCreate(Activity.java:5426)
05-31 20:16:58.781: E/AndroidRuntime(21924): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
05-31 20:16:58.781: E/AndroidRuntime(21924): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2269)
05-31 20:16:58.781: E/AndroidRuntime(21924): ... 11 more
05-31 20:16:58.781: E/AndroidRuntime(21924): Caused by: java.lang.IllegalStateException: The meta-data tag in your app's AndroidManifest.xml does not have the right value. Expected 4242000 but found 0. You must have the following declaration within the <application> element: <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
05-31 20:16:58.781: E/AndroidRuntime(21924): at com.google.android.gms.common.GooglePlayServicesUtil.n(Unknown Source)
05-31 20:16:58.781: E/AndroidRuntime(21924): at com.google.android.gms.common.GooglePlayServicesUtil.isGooglePlayServicesAvailable(Unknown Source)
05-31 20:16:58.781: E/AndroidRuntime(21924): at com.google.android.gms.maps.internal.q.v(Unknown Source)
05-31 20:16:58.781: E/AndroidRuntime(21924): at com.google.android.gms.maps.internal.q.u(Unknown Source)
05-31 20:16:58.781: E/AndroidRuntime(21924): at com.google.android.gms.maps.MapsInitializer.initialize(Unknown Source)
05-31 20:16:58.781: E/AndroidRuntime(21924): at com.google.android.gms.maps.MapFragment$b.ex(Unknown Source)
05-31 20:16:58.781: E/AndroidRuntime(21924): at com.google.android.gms.maps.MapFragment$b.a(Unknown Source)
05-31 20:16:58.781: E/AndroidRuntime(21924): at com.google.android.gms.dynamic.a.a(Unknown Source)
05-31 20:16:58.781: E/AndroidRuntime(21924): at com.google.android.gms.dynamic.a.onInflate(Unknown Source)
05-31 20:16:58.781: E/AndroidRuntime(21924): at com.google.android.gms.maps.MapFragment.onInflate(Unknown Source)
05-31 20:16:58.781: E/AndroidRuntime(21924): at android.app.Activity.onCreateView(Activity.java:4971)
05-31 20:16:58.781: E/AndroidRuntime(21924): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:695)
Usuarios navegando este tema
Guest
Salto de foro  
No puedes iniciar nuevos temas en este foro.
No puedes responder a temas en este foro.
No puedes eliminar sus temas en este foro.
No puedes editar sus temas en este foro.
No puedes crear encuestas en este foro.
No puedes votar las encuestas en este foro.