Step 2. Verify your input

<< Previous Next >> Set up your output

Now that we have set up the SDK and added our API key, we can restart the sample app:

  1. In Android Studio, click the Run button in the top tool bar.
  2. After the Higgs Shop is opened on your virtual device, click around the app to trigger a few events.
  3. 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:

  1. Navigate to Setup > Inputs in the left nav bar.
  2. Select Android from the list of platforms.
  3. 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

  1. Make sure that you are initializing and configuring the SDK correctly according to the steps described in Step 1.
  2. 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.
<< Previous Next >> Set up your output

Was this page helpful?