Quick start
Below you will find a brief description of the steps to enable the AppMetrica SDK for your app using the Android Studio plugin. For a detailed description, see Enabling the plugin and Enabling the AppMetrica SDK.
Follow these steps to enable the AppMetrica SDK for your app:
Open the Plugin Manager in Android Studio (
).Find the
AppMetrica
plugin. To do this, enterAppMetrica
in the search bar.Click Install.
Close settings.
In the main menu, choose
.(Optional) Choose the app to enable the AppMetrica SDK for (if there is more than one).
Specify the app's API key.
(Optional) Turn on the Copy events from AppsFlyer option to copy events from AppsFlyer, if it is enabled.
Click Ok.
Add the code to identify new users in the
isFirstActivationAsUpdate
method in your class inherited fromApplication
.