0 votos

Hola. Tengo un problema luego de correr mi aplicacion. Arranca bien, muestra la primera pantalla y se cierra de repente, sin cargar mas nada y sin mostrar ningun aviso. En la consola de Android Studio me muestra estos errores y no se como resolverlos. AYUDA!!!!!

11-09 12:45:30.401 11152-11178/com.raul.eduardo E/GMPM: getGoogleAppId failed with status: 10
11-09 12:45:30.429 11152-11178/com.raul.eduardo E/GMPM: Uploading is not possible. App measurement disabled

 

No se si mi error es en AndroidManifest.xml. Este es mi Manifiesto

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.raul.eduardo">

    <!-- Network -->
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />


    <!-- My Location -->
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

    <!-- Maps API needs OpenGL ES 2.0. -->
    <uses-feature
        android:glEsVersion="0x00020000"
        android:required="true" />

    <!-- External storage for caching. -->
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.CAMERA" />

    <uses-feature
        android:name="android.hardware.camera"
        android:required="true" />
    <uses-feature android:name="android.hardware.camera.autofocus" />
    <uses-feature
        android:name="android.hardware.camera.front"
        android:required="false" />

    <!-- GCM -->
    <!-- GCM Keeps the processor from sleeping when a message is received. -->
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <!-- GCM requires a Google account. -->
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />

    <!--
        GCM
        Creates a custom permission so only this APP can receive its messages.
        NOTE: the permission *must* be called PACKAGE.permission.C2D_MESSAGE,
              where PACKAGE is the application's package name.
    -->
    <permission
        android:name="com.raul.eduardo.permission.C2D_MESSAGE"
        android:protectionLevel="signature" />

    <uses-permission android:name="com.raul.eduardo.permission.C2D_MESSAGE" />

    <!-- GCM This APP has permission to register and receive data message. -->
    <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />


    <application
        android:name="com.raul.eduardo.AppController"
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <meta-data
            android:name="com.google.android.maps.v2.API_KEY"
            android:value="@string/key_android_app" />

        <!-- Required for applications which use Google Play Services. -->
        <meta-data
            android:name="com.google.android.gms.version"
            android:value="@integer/google_play_services_version" />

        <!--
          WakefulBroadcastReceiver that will receive intents from GCM
          services and hand them to the custom IntentService.
          The com.google.android.c2dm.permission.SEND permission is necessary
          so only GCM services can send data messages for the APP.
        -->
        <receiver
            android:name=".GcmBroadcastReceiver"
            android:permission="com.google.android.c2dm.permission.SEND" >
            <intent-filter>
                <action android:name="com.google.android.c2dm.intent.RECEIVE" />

                <category android:name="com.raul.eduardo" />
            </intent-filter>
        </receiver>

        <service android:name=".GcmIntentService" />
        <service android:name=".service.ChangeDutyService" />
        <service android:name=".service.ReportLocation" />

        <activity
            android:name=".SplashActivity"
            android:configChanges="orientation|screenSize|screenLayout"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name=".MainActivity"
            android:configChanges="orientation|screenSize|screenLayout" >
        </activity>
        <activity
            android:name=".SignInActivity"
            android:configChanges="orientation|screenSize|screenLayout"
            android:label="@string/title_activity_login" >
        </activity>
        <activity
            android:name=".SignUpActivity"
            android:configChanges="orientation|screenSize|screenLayout"
            android:label="@string/title_activity_sign_up" >
        </activity>
        <activity
            android:name=".StartUpActivity"
            android:configChanges="orientation|screenSize|screenLayout"
            android:label="@string/title_activity_start_up"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name=".NotificationActivity"
            android:configChanges="orientation|screenSize|screenLayout"
            android:label="@string/title_activity_booking" >
        </activity>
        <activity
            android:name=".AlertNotification"
            android:configChanges="orientation|screenSize|screenLayout"
            android:theme="@style/AppTheme" >
        </activity>
        <activity
            android:name=".AlertReplyMessage"
            android:configChanges="orientation|screenSize|screenLayout"
            android:theme="@style/AppTheme" >
        </activity>
        <activity
            android:name=".PromptAssignDialog"
            android:configChanges="orientation|screenSize|screenLayout"
            android:theme="@style/AppTheme" >
        </activity>
        <activity
            android:name=".TripTrackerActivity"
            android:configChanges="orientation|screenSize|screenLayout"
            android:label="@string/title_activity_trip_tracker" >
        </activity>
    </application>

</manifest>

 

preguntado por Raul Febres Nov 9, 2015 en Aplicaciones Móviles

1 Respuesta

0 votos

Comprueba que lo tengas bien configurado desde https://developers.google.com/android/reference/com/google/android/gms/common/api/GoogleApiClient.Builder

También asegúrate que todas las bibliotecas de "com.google.android" tengan la misma versión.

respondido por Ramon [Admin] Nov 9, 2015