I did as an example
Hello World Android app
in my manifest
<?xml version="1.0"?>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/Theme.AppCompat"
android:name=".MyApp">
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version"/>
<activity
android:name=".MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<receiver
android:name="com.google.android.gms.analytics.AnalyticsReceiver"
android:enabled="true">
<intent-filter>
<action android:name="com.google.android.gms.analytics.ANALYTICS_DISPATCH"/>
</intent-filter>
</receiver>
<service
android:name="com.google.android.gms.analytics.AnalyticsService"
android:enabled="true"
android:exported="false"/>
<receiver
android:name="com.google.android.gms.analytics.CampaignTrackingReceiver"
android:exported="true"
android:enabled="true">
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER"/>
</intent-filter>
</receiver>
<service
android:name="com.google.android.gms.analytics.CampaignTrackingService"
android:enabled="true"/>
</application>
and I have MyApp as usual, but every time I launch the application these messages appear and I don't see anything in analytics / web /
07-22 17: 19: 47.506 20695-20695 /? W / GAv4: AnalyticsReceiver not registered or disabled. Register the receiver for secure sending on non-Google Play devices. See [google link] for instructions.
07-22 17: 19: 47.546 20695-20695 /? W / GAv4: CampaignTrackingReceiver not registered, exported, or disabled. Campaign tracking is not possible. See [google link] for instructions.
07-22 17: 19: 47.546 20695-20722 /? W / GAv4: AnalyticsService is not registered in the app manifest. Hits cannot be delivered reliably. See [google link] for instructions.
Fixed
I don't know what happened, I just took a break and everything was fine
source
to share