Now that we have set up the SDK and added our API key, we can restart the sample app:
In Android Studio, click the Run button in the top tool bar.
After the Higgs Shop is opened on your virtual device, click around the app to trigger a few events.
Navigate to Data Master > Live Stream in the left nav bar of your mParticle dashboard. The first few events will display in the Live Stream after a few seconds.
2.1 Troubleshoot your input
If you don’t see any events in the Live Stream, try the following:
Make sure you inserted your API key correctly
Make sure that you copied and pasted the entire key and secret displayed in the Platform Configuration modal when you set up your web input. To find your key:
Navigate to Setup > Inputs in the left nav bar.
Select Android from the list of platforms.
Your key is listed under Key, it should begin with an indicator of which data pod your mParticle account uses, for example: us2-. Your secret will be listed under Secret.
Check your SDK configuration
Make sure that you are initializing and configuring the SDK correctly according to the steps described in Step 1.
Make sure that the configuration options .environment(MParticle.Environment.Development) and .logLevel(MParticle.LogLevel.VERBOSE) are included in the MParticleOptions object in the HiggsShopSampleApplication.kt file.